waf: added --symbol-check option
authorAndrew Tridgell <tridge@samba.org>
Sat, 30 Oct 2010 00:17:30 +0000 (11:17 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sat, 30 Oct 2010 12:49:00 +0000 (23:49 +1100)
commitadabc3d082a2e23a9bca9282ad5e7be07fa776e9
tree89db3a0dd538af211eb2060895f761f4f162e7cb
parentdf34bb268566ea86f2b77ed7bb04983b8c05e4c3
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>
buildtools/wafsamba/symbols.py
buildtools/wafsamba/wscript
source4/wscript_build