Bug 1228 - object 'ns3-network--lib' was not found in uselib_local (required by 'bench-packets')
This commit is contained in:
1 parent
67ac18bc1c
commit
4aa516ee63
1 file changed
+13
-5
+13
-5
@@ -15,10 +15,18 @@ def build(bld):
|
||||
obj = bld.create_ns3_program('bench-simulator', ['core'])
|
||||
obj.source = 'bench-simulator.cc'
|
||||
|
||||
obj = bld.create_ns3_program('bench-packets', ['network'])
|
||||
obj.source = 'bench-packets.cc'
|
||||
# Because the list of enabled modules must be set before
|
||||
# test-runner can be built, this diretory is parsed by the top
|
||||
# level wscript file after all of the other program module
|
||||
# dependencies have been handled.
|
||||
#
|
||||
# So, make sure that the network module is enabled before building
|
||||
# these programs.
|
||||
if 'ns3-network' in env['NS3_ENABLED_MODULES']:
|
||||
obj = bld.create_ns3_program('bench-packets', ['network'])
|
||||
obj.source = 'bench-packets.cc'
|
||||
|
||||
obj = bld.create_ns3_program('print-introspected-doxygen')
|
||||
obj.source = 'print-introspected-doxygen.cc'
|
||||
obj.uselib_local = [mod+"--lib" for mod in env['NS3_ENABLED_MODULES']]
|
||||
obj = bld.create_ns3_program('print-introspected-doxygen', ['network'])
|
||||
obj.source = 'print-introspected-doxygen.cc'
|
||||
obj.uselib_local = [mod+"--lib" for mod in env['NS3_ENABLED_MODULES']]
|
||||
|
||||
Reference in new issue
Block a user