Link Python bindings modules to all enabled ns-3 module libraries. Fixes #1117.

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2011-04-29 18:27:03 +01:00
1 parent 4d16fd7c74
commit 82b7ca17b4
1 file changed
+1 -1
+1 -1
View File
@@ -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')