summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/symbols.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/symbols.py')
-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 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: