diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/replace/libreplace_ld.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4 index 9356ebdf6e..ac8c870a64 100644 --- a/source4/lib/replace/libreplace_ld.m4 +++ b/source4/lib/replace/libreplace_ld.m4 @@ -110,8 +110,11 @@ AC_DEFUN([AC_LD_SHLDFLAGS], SHLD_FLAGS="-b" fi ;; + *osf*) + SHLD_FLAGS="-shared -warning_unresolved" + ;; *darwin*) - SHLD_FLAGS="-bundle -flat_namespace -undefined suppress -Wl,-search_paths_first" + SHLD_FLAGS="-bundle -flat_namespace -undefined warning -Wl,-search_paths_first" ;; esac |