summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/replace/libreplace_ld.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4
index a2e43bbe13..2652f89cb6 100644
--- a/source4/lib/replace/libreplace_ld.m4
+++ b/source4/lib/replace/libreplace_ld.m4
@@ -142,7 +142,7 @@ AC_DEFUN([AC_LIBREPLACE_LD_SHLIB_FLAGS],
LD_SHLIB_FLAGS="-shared"
;;
*darwin*)
- LD_SHLIB_FLAGS="-bundle -flat_namespace -Wl,-search_paths_first"
+ LD_SHLIB_FLAGS="-bundle -dynamiclib -Wl,-search_paths_first"
;;
esac