src/wscript
changeset 1880 0148d5911946
parent 1878 f947cd18f0bb
child 2178 763aa96fffd4
--- a/src/wscript	Thu Dec 06 13:30:26 2007 +0100
+++ b/src/wscript	Sun Dec 09 14:39:07 2007 +0000
@@ -47,17 +47,13 @@
     conf.sub_config('simulator')
 
     blddir = os.path.abspath(os.path.join(conf.m_blddir, conf.env.variant()))
-    conf.env['NS3_MODULE_PATH'] = [os.path.join(blddir, 'lib')]
+    conf.env['NS3_MODULE_PATH'] = [blddir]
     if Params.g_options.enable_rpath:
         conf.env.append_value('RPATH', '-Wl,-rpath=%s' % (os.path.join(blddir),))
 
     ## Used to link the 'run-tests' program with all of ns-3 code
     conf.env['NS3_MODULES'] = ['ns3-' + module.split('/')[-1] for module in all_modules]
 
-    if Params.g_options.enable_modules:
-        conf.env['NS3_ENABLED_MODULES'] = ['ns3-'+mod for mod in
-                                           Params.g_options.enable_modules.split(',')]
-
 
 def create_ns3_module(bld, name, dependencies=()):
     module = bld.create_obj('cpp', 'objects')