From 282984fdffee349ac60064de73f13f6e7e288b2f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 23 Mar 2011 12:15:33 +1100 Subject: waf: prevent an error in the symbol checking code --- buildtools/wafsamba/symbols.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit