From e37a5eed7a19f1dcac6160819a63c46d8f2fa866 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Mon, 18 May 2009 14:10:49 +0100 Subject: [PATCH] Don't event try to enable -Wl,--soname option if we're not on linux. --- wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 508baa784..32257703b 100644 --- a/wscript +++ b/wscript @@ -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')