From 387bcc5d20021f0bddc42e4012ecc1040e26e835 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 29 Jun 2005 12:07:09 -0400 Subject: [PATCH] BUG: Need to use the -c option for implib to produce case-sensitive symbols in the .lib files. --- Modules/Platform/Windows-bcc32.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake index 92cbe7b69..72d86b768 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_START_TEMP_FILE}-e -tWD -tWR ${CMAKE_END_TEMP_FILE}" - "implib -w .lib .dll" + "implib -c -w .lib .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_START_TEMP_FILE}-e -tWD -tWR ${CMAKE_END_TEMP_FILE}" - "implib -w .lib .dll" + "implib -c -w .lib .dll" ) # create a C shared module just copy the shared library rule