diff options
author | Brad King <brad.king@kitware.com> | 2005-06-29 16:07:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-06-29 16:07:09 (GMT) |
commit | 387bcc5d20021f0bddc42e4012ecc1040e26e835 (patch) | |
tree | d2a2726a2ca7ecab6f6047b51bbe656a61e5c623 /Modules/Platform/Windows-bcc32.cmake | |
parent | e16d47c91ace32546ef64309724ecfb491359ab9 (diff) | |
download | CMake-387bcc5d20021f0bddc42e4012ecc1040e26e835.zip CMake-387bcc5d20021f0bddc42e4012ecc1040e26e835.tar.gz CMake-387bcc5d20021f0bddc42e4012ecc1040e26e835.tar.bz2 |
BUG: Need to use the -c option for implib to produce case-sensitive symbols in the .lib files.
Diffstat (limited to 'Modules/Platform/Windows-bcc32.cmake')
-rw-r--r-- | Modules/Platform/Windows-bcc32.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake index 92cbe7b..72d86b7 100644 --- a/Modules/Platform/Windows-bcc32.cmake +++ b/Modules/Platform/Windows-bcc32.cmake @@ -27,7 +27,7 @@ SET (CMAKE_MANGLE_OBJECT_FILE_NAMES "ON") # create a shared C++ library SET(CMAKE_CXX_CREATE_SHARED_LIBRARY "<CMAKE_CXX_COMPILER> ${CMAKE_START_TEMP_FILE}-e<TARGET> -tWD <LINK_FLAGS> -tWR <LINK_LIBRARIES> <OBJECTS>${CMAKE_END_TEMP_FILE}" - "implib -w <TARGET_BASE>.lib <TARGET_BASE>.dll" + "implib -c -w <TARGET_BASE>.lib <TARGET_BASE>.dll" ) SET(CMAKE_CXX_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_LIBRARY}) @@ -35,7 +35,7 @@ SET(CMAKE_CXX_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_LIBRARY}) # create a C shared library SET(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> ${CMAKE_START_TEMP_FILE}-e<TARGET> -tWD <LINK_FLAGS> -tWR <LINK_LIBRARIES> <OBJECTS>${CMAKE_END_TEMP_FILE}" - "implib -w <TARGET_BASE>.lib <TARGET_BASE>.dll" + "implib -c -w <TARGET_BASE>.lib <TARGET_BASE>.dll" ) # create a C shared module just copy the shared library rule |