Browse Source

use export all symbols on cygwin

Bill Hoffman 23 years ago
parent
commit
110bc04bd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/Platform/CYGWIN.cmake

+ 1 - 1
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")