summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-21 12:41:22 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-21 12:41:22 -0500
commit110bc04bd0125ef746ad8ea239c632831f7c5075 (patch)
tree3d5a867db1714373af02a3500d53078d852324d5
parent5e366c361dde9744059ceb7be6012c95c96cc96a (diff)
downloadcmake-110bc04bd0125ef746ad8ea239c632831f7c5075.tar.gz
use export all symbols on cygwin
-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 78a12e02ad..a7cb34c6fa 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")