svn commit: samba r25986 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Fri Nov 16 09:31:49 GMT 2007


Author: metze
Date: 2007-11-16 09:31:49 +0000 (Fri, 16 Nov 2007)
New Revision: 25986

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25986

Log:
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

Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace_ld.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_ld.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_ld.m4	2007-11-16 08:38:32 UTC (rev 25985)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_ld.m4	2007-11-16 09:31:49 UTC (rev 25986)
@@ -110,8 +110,11 @@
 				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
 



More information about the samba-cvs mailing list