ENH: use the correct flag for the linker

This commit is contained in:
Bill Hoffman 2007-08-17 09:00:13 -04:00
parent 889aeeb48c
commit 038f3e240c
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ SET(CMAKE_SHARED_MODULE_PREFIX "lib")
SET(CMAKE_SHARED_MODULE_SUFFIX ".so")
SET(CMAKE_MODULE_EXISTS 1)
SET(CMAKE_DL_LIBS "")
SET(CMAKE_C_LINK_FLAGS "-search_paths_first -headerpad_max_install_names")
SET(CMAKE_CXX_LINK_FLAGS "-search_paths_first -headerpad_max_install_names")
SET(CMAKE_C_LINK_FLAGS "-Wl,-search_paths_first -headerpad_max_install_names")
SET(CMAKE_CXX_LINK_FLAGS "-Wl,-search_paths_first -headerpad_max_install_names")
SET(CMAKE_PLATFORM_HAS_INSTALLNAME 1)
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib -headerpad_max_install_names")
SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -headerpad_max_install_names")