summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace')
-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 7a37b1b23b..3a476dc90b 100644
--- a/source4/lib/replace/libreplace_ld.m4
+++ b/source4/lib/replace/libreplace_ld.m4
@@ -111,7 +111,7 @@ AC_DEFUN([AC_LD_SHLDFLAGS],
fi
;;
*darwin*)
- SHLD_FLAGS="-dynamiclib"
+ SHLD_FLAGS="-bundle -flat_namespace -undefined suppress -Wl,-search_paths_first"
;;
esac