--- a/wscript Tue May 05 12:00:29 2009 +0200
+++ b/wscript Tue May 05 14:47:08 2009 +0200
@@ -308,8 +308,9 @@
else:
conf.report_optional_feature("static", "Static build", True, '')
env['ENABLE_STATIC_NS3'] = True
- elif env['PLATFORM'].startswith('darwin') and \
- env['CXX_NAME'] == 'gcc':
+ elif env['CXX_NAME'] == 'gcc' and \
+ (env['PLATFORM'].startswith('darwin') or \
+ env['PLATFORM'].startswith('cygwin')):
conf.report_optional_feature("static", "Static build", True, '')
env['ENABLE_STATIC_NS3'] = True
else: