src/wscript
changeset 9173 513f8ec65729
parent 8894 90d67c5e8255
child 9278 0a749c0f1afd
--- a/src/wscript	Fri Dec 07 11:12:43 2012 +0100
+++ b/src/wscript	Fri Dec 07 10:19:29 2012 -0500
@@ -58,7 +58,7 @@
     blddir = os.path.abspath(os.path.join(conf.bldnode.abspath(), conf.variant))
     conf.env.append_value('NS3_MODULE_PATH', blddir)
     if Options.options.enable_rpath:
-        conf.env.append_value('RPATH', '-Wl,-rpath=%s' % (os.path.join(blddir),))
+        conf.env.append_value('RPATH', '-Wl,-rpath,%s' % (os.path.join(blddir),))
 
     ## Used to link the 'test-runner' program with all of ns-3 code
     conf.env['NS3_MODULES'] = ['ns3-' + module.split('/')[-1] for module in all_modules]