summaryrefslogtreecommitdiff
path: root/source4/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-30 11:17:30 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-30 23:49:00 +1100
commitadabc3d082a2e23a9bca9282ad5e7be07fa776e9 (patch)
tree89db3a0dd538af211eb2060895f761f4f162e7cb /source4/wscript_build
parentdf34bb268566ea86f2b77ed7bb04983b8c05e4c3 (diff)
downloadsamba-adabc3d082a2e23a9bca9282ad5e7be07fa776e9.tar.gz
waf: added --symbol-check option
this adds checking of the symbols in all our object files, libraries and syslibs. It will form the basis in future for a lot more checks, but for now it just checks basic rules like not allowing us to use symbols that are in system libs. Currently this is enabled only if you use the --symbol-check option, (or use make with SYMBOLCHECK=1) but I intend to make this always enabled once it has had more testing. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/wscript_build')
-rw-r--r--source4/wscript_build2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/wscript_build b/source4/wscript_build
index 9b22132940c..474aca686c4 100644
--- a/source4/wscript_build
+++ b/source4/wscript_build
@@ -96,3 +96,5 @@ bld.RECURSE('../lib')
# install some extra empty directories
bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")
+
+bld.SYMBOL_CHECK()