From c31d4b69a10675fa3301062b1a77b109cfcee7de Mon Sep 17 00:00:00 2001 From: kunitoki Date: Tue, 10 Apr 2012 11:21:31 +0200 Subject: [PATCH] - avoid using -rdynamic on compilers different than gcc --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 30930b7f8..bd696e241 100644 --- a/SConstruct +++ b/SConstruct @@ -1432,7 +1432,7 @@ if not preconfigured: # Add rdynamic to allow using statics between application and plugins # http://stackoverflow.com/questions/8623657/multiple-instances-of-singleton-across-shared-libraries-on-linux - if env['PLATFORM'] != 'Darwin': + if env['PLATFORM'] != 'Darwin' and env['CXX'] == 'g++': env.MergeFlags('-rdynamic') # Customizing the C++ compiler flags depending on: