git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dd1ac
)
waf: raise an error on a dependency on a python module
author
Andrew Tridgell
<tridge@samba.org>
Thu, 21 Oct 2010 03:55:19 +0000
(14:55 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 21 Oct 2010 08:03:26 +0000
(19:03 +1100)
it is never correct to list a dependency on a python module
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 5f9f294e56d2a99c1449d44b12bf9c5b62b72ddf..491a48bad8678e4814a6541c6084054fd516c4a4 100644
(file)
--- a/
buildtools/wafsamba/samba_deps.py
+++ b/
buildtools/wafsamba/samba_deps.py
@@
-439,6
+439,9
@@
def build_direct_deps(bld, tgt_list):
sys.exit(1)
if targets[d] in [ 'EMPTY', 'DISABLED' ]:
continue
+ if targets[d] == 'PYTHON':
+ Logs.error('ERROR: Target %s has dependency on python module %s' % (t.sname, d))
+ sys.exit(1)
if targets[d] == 'SYSLIB':
t.direct_syslibs.add(d)
if d in syslib_deps: