diff options
-rw-r--r-- | scons/gallium.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 91a2fbbca69..467b67fad7c 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -393,9 +393,10 @@ def generate(env): linkflags += ['-m32'] if env['machine'] == 'x86_64': linkflags += ['-m64'] - shlinkflags += [ - '-Wl,-Bsymbolic', - ] + if env['platform'] not in ('darwin'): + shlinkflags += [ + '-Wl,-Bsymbolic', + ] # Handle circular dependencies in the libraries if env['platform'] in ('darwin'): pass |