From: Andrew Tridgell Date: Wed, 23 Mar 2011 01:15:33 +0000 (+1100) Subject: waf: prevent an error in the symbol checking code X-Git-Tag: ldb-1.1.0~607 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=282984fdffee349ac60064de73f13f6e7e288b2f;p=thirdparty%2Fsamba.git waf: prevent an error in the symbol checking code --- diff --git a/buildtools/wafsamba/symbols.py b/buildtools/wafsamba/symbols.py index 0d0af79d066..0e862cbe15c 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: