summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorYves Starreveld <ystarrev@uwo.ca>2003-08-28 00:35:18 (GMT)
committerYves Starreveld <ystarrev@uwo.ca>2003-08-28 00:35:18 (GMT)
commit2ff4690192d6df4c383bb1b8e4505381ce51bcbd (patch)
tree6f50d8c138bcfef9f083f2a1b033e064ae646f8b /Modules
parent44429c46c070d8773e950167ca57c66547968cce (diff)
downloadCMake-2ff4690192d6df4c383bb1b8e4505381ce51bcbd.zip
CMake-2ff4690192d6df4c383bb1b8e4505381ce51bcbd.tar.gz
CMake-2ff4690192d6df4c383bb1b8e4505381ce51bcbd.tar.bz2
ENH: remove the -flat_namespace and -undefined suppress hacks from
ENH: CMAKE_SHARED_MODULE_CREATE_C_FLAGS ENH: and fix the complex example to specify a -bundle loader for the ENH: shared module that it builds.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Darwin.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index 0470828..9ccf817 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -5,7 +5,7 @@ SET(CMAKE_SHARED_MODULE_SUFFIX ".so")
SET(CMAKE_MODULE_EXISTS 1)
SET(CMAKE_DL_LIBS "")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib")
-SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -flat_namespace -undefined suppress")
+SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle")
SET(CMAKE_CXX_CREATE_SHARED_LIBRARY
"<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <LINK_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")