From db73b4a2c129eeb7dddcd2466f8b7b485d66c1d9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 25 Oct 2010 11:29:12 +1100 Subject: waf: moved the -Wl,-no-undefined flags to source4 and ldb moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett Autobuild-User: Andrew Tridgell Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104 --- source4/lib/ldb/wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index fe468102d9..502d492713 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -60,6 +60,10 @@ def configure(conf): conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True) + # we don't want any libraries or modules to rely on runtime + # resolution of symbols + conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True) + conf.SAMBA_CONFIG_H() def build(bld): -- cgit