summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-30 11:22:29 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-30 23:49:00 +1100
commitf7b70a5a7acb3b3ed46112d0cd52f67bc763543c (patch)
tree61479dbdae3a57f25515ccde6d0890ef4a1490a3 /buildtools
parent78d732cc4002f92fa7741e848a8c922e60989a56 (diff)
downloadsamba-f7b70a5a7acb3b3ed46112d0cd52f67bc763543c.tar.gz
samba-f7b70a5a7acb3b3ed46112d0cd52f67bc763543c.tar.bz2
samba-f7b70a5a7acb3b3ed46112d0cd52f67bc763543c.zip
waf: give a better error on a bad grouping library
give a clear error on an unknown dependency in a grouping library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_deps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
index 8dc1350c73..71b5ef6bef 100644
--- a/buildtools/wafsamba/samba_deps.py
+++ b/buildtools/wafsamba/samba_deps.py
@@ -405,6 +405,7 @@ def replace_grouping_libraries(bld, tgt_list):
if not getattr(t, 'grouping_library', False):
continue
for dep in t.samba_deps_extended:
+ bld.ASSERT(dep in targets, "grouping library target %s not declared in %s" % (dep, t.sname))
if targets[dep] == 'SUBSYSTEM':
grouping[dep] = t.sname