Don't event try to enable -Wl,--soname option if we're not on linux.
--- 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')