wscript
changeset 4447 0b42685f6b78
parent 4446 56b16bcd3afc
child 4450 0ca9b9b410a0
--- a/wscript	Mon May 18 11:06:26 2009 +0100
+++ b/wscript	Mon May 18 14:10:49 2009 +0100
@@ -264,8 +264,9 @@
         if libstdcxx_location:
             conf.env.append_value('NS3_MODULE_PATH', libstdcxx_location)
 
-        if conf.check_compilation_flag('-Wl,--soname=foo'):
-            env['WL_SONAME_SUPPORTED'] = True
+        if Options.platform in ['linux']:
+            if conf.check_compilation_flag('-Wl,--soname=foo'):
+                env['WL_SONAME_SUPPORTED'] = True
 
     conf.sub_config('src')
     conf.sub_config('utils')