s4-waf: added implied_deps for system libraries
authorAndrew Tridgell <tridge@samba.org>
Mon, 29 Mar 2010 11:27:17 +0000 (22:27 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:17 +0000 (20:27 +1000)
commit874e39cbf00325cb379ddea274ae4288e32f8f72
tree249dfe4463f3c302f8a1737b43c129b893d76fa0
parented5522adf24903a500e3565ea5eb443ed28440cc
s4-waf: added implied_deps for system libraries

when we use a system version of a library such as talloc, then we
no longer get the automtica dependency propogation of talloc implying
libreplace. That means we don't get the includes for libreplace, which
means things can fail to build.

To fix this this change adds an implied_deps option to
CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an
implied dependency on the listed targets if the system library is
chosen.
buildtools/wafsamba/samba_bundled.py
buildtools/wafsamba/samba_deps.py
lib/talloc/wscript
lib/tdb/wscript
lib/tevent/wscript
source4/lib/ldb/wscript