summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace_ld.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/libreplace_ld.m4')
-rw-r--r--source4/lib/replace/libreplace_ld.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4
index 2f9834838d..9356ebdf6e 100644
--- a/source4/lib/replace/libreplace_ld.m4
+++ b/source4/lib/replace/libreplace_ld.m4
@@ -223,6 +223,9 @@ AC_DEFUN([AC_LIBREPLACE_MDLD_FLAGS],
MDLD_FLAGS="-b"
fi
;;
+ *osf*)
+ MDLD_FLAGS="-shared -expect_unresolved '*'"
+ ;;
*darwin*)
MDLD_FLAGS="-bundle -flat_namespace -undefined suppress -Wl,-search_paths_first"
;;