summaryrefslogtreecommitdiff
path: root/source4/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/wscript')
-rw-r--r--source4/wscript4
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'])