Add the flat_namespace and undefined suppress flags to OSX builds

This commit is contained in:
Yves Starreveld 2001-12-04 18:49:02 -05:00
parent 11084af423
commit cca166080c
2 changed files with 2 additions and 2 deletions

2
Templates/configure vendored
View File

@ -2291,7 +2291,7 @@ fi
CMAKE_DL_LIBS=""
CMAKE_SHLIB_BUILD_FLAGS="-dynamiclib"
CMAKE_SHLIB_LINK_FLAGS=""
CMAKE_MODULE_BUILD_FLAGS="-bundle"
CMAKE_MODULE_BUILD_FLAGS="-bundle -flat_namespace -undefined suppress"
CMAKE_MODULE_LINK_FLAGS=""
CMAKE_SHLIB_RUNTIME_FLAG=""
CMAKE_SHLIB_RUNTIME_SEP=":"

View File

@ -137,7 +137,7 @@ case $system in
CMAKE_DL_LIBS=""
CMAKE_SHLIB_BUILD_FLAGS="-dynamiclib"
CMAKE_SHLIB_LINK_FLAGS=""
CMAKE_MODULE_BUILD_FLAGS="-bundle"
CMAKE_MODULE_BUILD_FLAGS="-bundle -flat_namespace -undefined suppress"
CMAKE_MODULE_LINK_FLAGS=""
CMAKE_SHLIB_RUNTIME_FLAG=""
CMAKE_SHLIB_RUNTIME_SEP=":"