git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d732c
)
waf: give a better error on a bad grouping library
author
Andrew Tridgell
<tridge@samba.org>
Sat, 30 Oct 2010 00:22:29 +0000
(11:22 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 30 Oct 2010 12:49:00 +0000
(23:49 +1100)
give a clear error on an unknown dependency in a grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_deps.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_deps.py
b/buildtools/wafsamba/samba_deps.py
index 8dc1350c73250c3ec2c77977f29149185169f38a..71b5ef6befb067c6f47991d872cd053b2b4650e1 100644
(file)
--- 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