summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-21 17:41:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-21 17:41:22 (GMT)
commit110bc04bd0125ef746ad8ea239c632831f7c5075 (patch)
tree3d5a867db1714373af02a3500d53078d852324d5 /Modules
parent5e366c361dde9744059ceb7be6012c95c96cc96a (diff)
downloadCMake-110bc04bd0125ef746ad8ea239c632831f7c5075.zip
CMake-110bc04bd0125ef746ad8ea239c632831f7c5075.tar.gz
CMake-110bc04bd0125ef746ad8ea239c632831f7c5075.tar.bz2
use export all symbols on cygwin
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/CYGWIN.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/CYGWIN.cmake b/Modules/Platform/CYGWIN.cmake
index 78a12e0..a7cb34c 100644
--- a/Modules/Platform/CYGWIN.cmake
+++ b/Modules/Platform/CYGWIN.cmake
@@ -1,4 +1,4 @@
-SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,--export-all-symbols -Wl,--enable-auto-import")
SET(CMAKE_DL_LIBS "-lgdi32" )
SET(CMAKE_SHARED_LIBRARY_PREFIX "lib")
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll")