git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aef9c3
)
waf: prevent an error in the symbol checking code
author
Andrew Tridgell
<tridge@samba.org>
Wed, 23 Mar 2011 01:15:33 +0000
(12:15 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 23 Mar 2011 01:19:29 +0000
(12:19 +1100)
buildtools/wafsamba/symbols.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/symbols.py
b/buildtools/wafsamba/symbols.py
index 0d0af79d06638c29dd0bc069b5e7d402782ceee5..0e862cbe15ce176bb8e8ff2fd9a90c40e2d74991 100644
(file)
--- a/
buildtools/wafsamba/symbols.py
+++ b/
buildtools/wafsamba/symbols.py
@@
-361,7
+361,8
@@
def check_syslib_dependencies(bld, t):
features = TO_LIST(t.features)
if 'pyembed' in features or 'pyext' in features:
- t.unsatisfied_symbols = t.unsatisfied_symbols.difference(bld.env.public_symbols['python'])
+ if 'python' in bld.env.public_symbols:
+ t.unsatisfied_symbols = t.unsatisfied_symbols.difference(bld.env.public_symbols['python'])
needed = {}
for sym in t.unsatisfied_symbols: