summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript10
1 files changed, 1 insertions, 9 deletions
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