diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-25 11:29:12 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-25 01:12:15 +0000 |
commit | db73b4a2c129eeb7dddcd2466f8b7b485d66c1d9 (patch) | |
tree | 5b5a881dcbe486250fc92340b670e3d8640de91a /source4/wscript | |
parent | 986a00dcef2bc2c9cf00c987555e0f4ff646437d (diff) | |
download | samba-db73b4a2c129eeb7dddcd2466f8b7b485d66c1d9.tar.gz samba-db73b4a2c129eeb7dddcd2466f8b7b485d66c1d9.tar.bz2 samba-db73b4a2c129eeb7dddcd2466f8b7b485d66c1d9.zip |
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 <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/wscript')
-rw-r--r-- | source4/wscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/wscript b/source4/wscript index 10c53a3d21..c419c16af2 100644 --- a/source4/wscript +++ b/source4/wscript @@ -116,6 +116,10 @@ def configure(conf): conf.RECURSE('../pidl') conf.RECURSE('selftest') + # we don't want any libraries or modules to rely on runtime + # resolution of symbols + conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True) + # we don't want PYTHONDIR in config.h, as otherwise changing # --prefix causes a complete rebuild del(conf.env.defines['PYTHONDIR']) |