diff options
-rw-r--r-- | buildtools/wafsamba/symbols.py | 3 |
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: |