From 896e46aa6c3952b4955c87a867c24705ed85f47d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Nov 2007 09:31:49 +0100 Subject: r25986: libreplace: warn about unresolved symbols when link shared libraries On Tru64 and Mac OS X this hopefully works Note: -Wl,--no-allow-shlib-undefined doesn't tests what we want on Linux. metze (This used to be commit 7bee9a62ffda64a1bdcdbdd38dbb181eac8b641e) --- source4/lib/replace/libreplace_ld.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/lib/replace') 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 -- cgit