summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-15 01:00:40 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-15 13:15:50 +0200
commit12b46472896bc89dd7f1597a1f7ffeb5589046b1 (patch)
treebcefa1e709e81931adb8f76508ceaa4bab69bf36 /buildtools/wafsamba
parente27ef3dd6d59c3e985e912671976ee30b1c613d5 (diff)
downloadsamba-12b46472896bc89dd7f1597a1f7ffeb5589046b1.tar.gz
samba-12b46472896bc89dd7f1597a1f7ffeb5589046b1.tar.bz2
samba-12b46472896bc89dd7f1597a1f7ffeb5589046b1.zip
wafsamba: Improve assertion error message to include the module.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_deps.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
index d00fe7f4e5..94b7484def 100644
--- a/buildtools/wafsamba/samba_deps.py
+++ b/buildtools/wafsamba/samba_deps.py
@@ -55,10 +55,11 @@ def expand_subsystem_deps(bld):
continue
t = bld.name_to_obj(s, bld.env)
- bld.ASSERT(t is not None, "Subsystem target %s not found" % s)
for d in subsystems[s]:
type = targets[d['TARGET']]
if type != 'DISABLED' and type != 'EMPTY':
+ bld.ASSERT(t is not None,
+ "Subsystem target %s for %s (%s) not found" % (s, d['TARGET'], type))
t.samba_deps_extended.append(d['TARGET'])
t2 = bld.name_to_obj(d['TARGET'], bld.env)
t2.samba_includes_extended.extend(t.samba_includes_extended)