summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xTemplates/configure2
-rw-r--r--Templates/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Templates/configure b/Templates/configure
index 6c15a69..3ee74da 100755
--- a/Templates/configure
+++ b/Templates/configure
@@ -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=":"
diff --git a/Templates/configure.in b/Templates/configure.in
index c74091b..88ae78c 100644
--- a/Templates/configure.in
+++ b/Templates/configure.in
@@ -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=":"