From 0f873e1d63d124cf20703f9bcb2ef0424676c68d Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sun, 8 Jan 2012 16:26:02 +0000 Subject: [PATCH] Bug 1335 - waf 1.6.10 upgrade breaks OS X build when Python enabled --- src/wscript | 6 ++++++ 1 file changed, 6 insertions(+) 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