Ticket #3895: patch-CMakeDefaultMakeRuleVariables.cmake.diff
File patch-CMakeDefaultMakeRuleVariables.cmake.diff, 796 bytes (added by cssdev@…, 19 years ago) |
---|
-
Modules/CMakeDefaultMakeRuleVariables.cmake
old new 46 46 "<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") 47 47 ENDIF(NOT CMAKE_CXX_CREATE_SHARED_LIBRARY) 48 48 49 IF(CMAKE_COMPILER_IS_GNUCXX )49 IF(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE) 50 50 SET(CMAKE_CXX_CREATE_SHARED_LIBRARY "${CMAKE_CXX_CREATE_SHARED_LIBRARY} -lgcc") 51 ENDIF(CMAKE_COMPILER_IS_GNUCXX )51 ENDIF(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE) 52 52 53 53 # create a c++ shared module copy the shared library rule by default 54 54 IF(NOT CMAKE_CXX_CREATE_SHARED_MODULE)