summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-13 16:25:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-13 16:25:10 (GMT)
commite0671aba949e9f0b97e96cd0605b1e02f7bdebf9 (patch)
tree3abb4b42af3d50b9e220b0ca73942ebf9c8b9ede /Modules
parentccb9b9cda8276ec52f0fae811195e4218a2e95ee (diff)
downloadCMake-e0671aba949e9f0b97e96cd0605b1e02f7bdebf9.zip
CMake-e0671aba949e9f0b97e96cd0605b1e02f7bdebf9.tar.gz
CMake-e0671aba949e9f0b97e96cd0605b1e02f7bdebf9.tar.bz2
BUG: fix order of link line for creating shared libraries
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-bcc32.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake
index f45c0aa..97d8ea6 100644
--- a/Modules/Platform/Windows-bcc32.cmake
+++ b/Modules/Platform/Windows-bcc32.cmake
@@ -3,7 +3,7 @@ SET(CMAKE_LINK_LIBRARY_FLAG "")
# create a shared C++ library
SET(CMAKE_CXX_CREATE_SHARED_LIBRARY
- "<CMAKE_CXX_COMPILER> @&&|\n-e<TARGET> -tWD <OBJECTS> <LINK_LIBRARIES> <LINK_FLAGS>\n|"
+ "<CMAKE_CXX_COMPILER> @&&|\n-e<TARGET> -tWD <LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>\n|"
"implib @&&|\n-w <TARGET_BASE>.lib <TARGET_BASE>.dll\n|"
)
@@ -11,7 +11,7 @@ SET(CMAKE_CXX_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_LIBRARY})
# create a C shared library
SET(CMAKE_C_CREATE_SHARED_LIBRARY
- "<CMAKE_CXX_COMPILER> @&&|\n-e<TARGET> -tWD <OBJECTS> <LINK_LIBRARIES> <LINK_FLAGS>\n|"
+ "<CMAKE_C_COMPILER> @&&|\n-e<TARGET> -tWD <LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>\n|"
"implib @&&|\n-w <TARGET_BASE>.lib <TARGET_BASE>.dll\n|"
)