From 86afe83d867229b11fd4ec9cb6e29af698cacdef Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 13 Nov 2011 18:01:09 +0100 Subject: waf: Factor checking for undefined symbol flags out into separate method. Autobuild-User: Jelmer Vernooij Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104 --- wscript | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index fb9cc4096d..5ccb74d91d 100755 --- a/wscript +++ b/wscript @@ -101,15 +101,7 @@ def configure(conf): conf.RECURSE('selftest') conf.RECURSE('source3') - # we don't want any libraries or modules to rely on runtime - # resolution of symbols - if sys.platform != "openbsd4": - conf.env.undefined_ldflags = conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True) - - if sys.platform != "openbsd4" and conf.env.undefined_ignore_ldflags == []: - if conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup']): - conf.env.undefined_ignore_ldflags = ['-undefined', 'dynamic_lookup'] - + conf.SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS() # gentoo always adds this. We want our normal build to be as # strict as the strictest OS we support, so adding this here -- cgit