summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-23 12:15:33 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-23 12:19:29 +1100
commit282984fdffee349ac60064de73f13f6e7e288b2f (patch)
treefc93661cc9f114abb7527ab67efb7ad0e8657483 /buildtools
parent7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4 (diff)
downloadsamba-282984fdffee349ac60064de73f13f6e7e288b2f.tar.gz
samba-282984fdffee349ac60064de73f13f6e7e288b2f.tar.bz2
samba-282984fdffee349ac60064de73f13f6e7e288b2f.zip
waf: prevent an error in the symbol checking code
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/symbols.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/symbols.py b/buildtools/wafsamba/symbols.py
index 0d0af79d06..0e862cbe15 100644
--- 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: