Bug 1075 - Python examples fail when static built is enabled

This commit is contained in:
Gustavo J. A. M. Carneiro
2011-03-20 12:18:15 +00:00
parent 6f6538f5e3
commit ffbc5737b3

View File

@@ -704,10 +704,7 @@ def build(bld):
bindgen.after = 'gen_everything_h_task'
bindgen.name = "pybindgen-command"
if bld.env['ENABLE_STATIC_NS3']:
features = 'cxx cstaticlib pyext'
else:
features = 'cxx cshlib pyext'
features = 'cxx cshlib pyext'
if env['ENABLE_PYTHON_PCH']:
features += ' pch'
pymod = bld.new_task_gen(features=features)