- avoid using -rdynamic on compilers different than gcc

This commit is contained in:
kunitoki 2012-04-10 11:21:31 +02:00
parent be7fbbd205
commit c31d4b69a1

View file

@ -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: