From f7b70a5a7acb3b3ed46112d0cd52f67bc763543c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Oct 2010 11:22:29 +1100 Subject: 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 --- buildtools/wafsamba/samba_deps.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit