scons: do not use -rdynamic flag on os x

This commit is contained in:
Dane Springmeyer 2012-04-07 17:55:41 -07:00
parent af201551b8
commit 566ae578bb

View file

@ -1432,7 +1432,8 @@ 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
env.MergeFlags('-rdynamic')
if env['PLATFORM'] != 'Darwin':
env.MergeFlags('-rdynamic')
# Customizing the C++ compiler flags depending on:
# (1) the C++ compiler used; and