build: ensure we don't recreate library loops in expansions
authorAndrew Tridgell <tridge@samba.org>
Thu, 15 Apr 2010 03:59:51 +0000 (13:59 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 15 Apr 2010 04:01:06 +0000 (14:01 +1000)
commit34887de6b0615f0f63f497f9020d1c059643f8ec
tree13d81b40c13bb95478d602a62b9e9a83e3f22c9b
parent167ba0eac902238d970b8312a6cbc87cf48af91a
build: ensure we don't recreate library loops in expansions

after removing library loops from the dependeny graph, we re-add
parent dependencies. We need to ensure that we don't re-add a
dependency which re-creates the loop we so carefully removed.

This also adds a final check for library dependency loops, and shows
an appropriate error if one is found.
buildtools/wafsamba/samba_deps.py