From 3c4a471820dcc40648cb83ecc43fab47e8e10779 Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Fri, 3 Jun 2011 09:11:33 -0700 Subject: [PATCH] Fix paths for ns3tcp and ns3wifi modules --- src/test/ns3tcp/wscript | 5 ++++- src/test/ns3wifi/wscript | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/test/ns3tcp/wscript b/src/test/ns3tcp/wscript index 514353eab..29da7c0c6 100644 --- a/src/test/ns3tcp/wscript +++ b/src/test/ns3tcp/wscript @@ -7,8 +7,11 @@ def configure(conf): # should not be built if this is a static build on Darwin. They # don't work there for the ns3tcp module, and this is probably # because the ns3tcp module has no source files. + # + # Note that because this module is in a subdirectory of test, its + # name in the modules list is "test/ns3tcp". if conf.env['ENABLE_STATIC_NS3'] and sys.platform == 'darwin': - conf.env['MODULES_NOT_BUILT'].append('ns3tcp') + conf.env['MODULES_NOT_BUILT'].append('test/ns3tcp') def build(bld): # Don't do anything for this module if it should not be built. diff --git a/src/test/ns3wifi/wscript b/src/test/ns3wifi/wscript index 13feb446c..336610d82 100644 --- a/src/test/ns3wifi/wscript +++ b/src/test/ns3wifi/wscript @@ -7,8 +7,11 @@ def configure(conf): # should not be built if this is a static build on Darwin. They # don't work there for the ns3wifi module, and this is probably # because the ns3wifi module has no source files. + # + # Note that because this module is in a subdirectory of test, its + # name in the modules list is "test/ns3wifi". if conf.env['ENABLE_STATIC_NS3'] and sys.platform == 'darwin': - conf.env['MODULES_NOT_BUILT'].append('ns3wifi') + conf.env['MODULES_NOT_BUILT'].append('test/ns3wifi') def build(bld): # Don't do anything for this module if it should not be built.