Don't event try to enable -Wl,--soname option if we're not on linux.

This commit is contained in:
Gustavo J. A. M. Carneiro
2009-05-18 14:10:49 +01:00
parent 990960bbca
commit e37a5eed7a

View File

@@ -264,8 +264,9 @@ def configure(conf):
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')