diff --git a/src/wscript b/src/wscript index 923927664..f9796cb18 100644 --- a/src/wscript +++ b/src/wscript @@ -276,6 +276,12 @@ def ns3_python_bindings(bld): pymod.env['DEFINES'] = defines pymod.includes = '# bindings' pymod.install_path = '${PYTHONARCHDIR}/ns' + + # Workaround to a WAF bug, remove this when ns-3 upgrades to WAF > 1.6.10 + # https://www.nsnam.org/bugzilla/show_bug.cgi?id=1335 + # http://code.google.com/p/waf/issues/detail?id=1098 + pymod.mac_bundle = True + return pymod