Permalink
Browse files

- avoid using -rdynamic on compilers different than gcc

  • Loading branch information...
1 parent be7fbbd commit c31d4b69a10675fa3301062b1a77b109cfcee7de @kunitoki kunitoki committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SConstruct
View
@@ -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:

0 comments on commit c31d4b6

Please sign in to comment.