WAF: add uselib_local to the ns3 library to pull in library dependencies from the ns-3 modules into the main library.

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-05-13 01:04:42 +01:00
parent 32bc3d3664
commit 9ee8930726

View File

@@ -303,8 +303,10 @@ def build(bld):
lib.target = 'ns3'
if env['NS3_ENABLED_MODULES']:
lib.add_objects = list(modules)
lib.uselib_local = list(modules)
else:
lib.add_objects = list(env['NS3_MODULES'])
lib.uselib_local = list(env['NS3_MODULES'])
def get_command_template():