From 82b7ca17b4b83426c191705f1aa845c5fd482856 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 29 Apr 2011 18:27:03 +0100 Subject: [PATCH] Link Python bindings modules to all enabled ns-3 module libraries. Fixes #1117. --- src/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wscript b/src/wscript index 2d2898c58..32f2e0b12 100644 --- a/src/wscript +++ b/src/wscript @@ -251,7 +251,7 @@ def ns3_python_bindings(bld): pymod.source = ['bindings/ns3module.cc'] pymod.target = '%s/%s' % (module_target_dir, extension_name) pymod.name = 'ns3module_%s' % module - pymod.uselib_local = "ns3-"+module + pymod.uselib_local = pymod.env['NS3_ENABLED_MODULES'] # Should be '"ns3-"+module', but see bug 1117 if pymod.env['ENABLE_STATIC_NS3']: if sys.platform == 'darwin': pymod.env.append_value('LINKFLAGS', '-Wl,-all_load')