Bug #594: cygwin won't build.

This commit is contained in:
Gustavo J. A. M. Carneiro
2009-06-17 11:26:36 +01:00
parent 1207fdcbd2
commit 1fd46789b4
2 changed files with 4 additions and 0 deletions

View File

@@ -439,6 +439,8 @@ def build(bld):
bindgen.name = "pybindgen-command"
pymod = bld.new_task_gen('cxx', 'shlib', 'pyext')
if sys.platform == 'cygwin':
pymod.features.append('implib') # workaround for WAF bug #472
pymod.source = ['ns3module.cc', 'ns3module_helpers.cc']
pymod.includes = '.'
for module in scanned_modules: