summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 91a2fbbca6..467b67fad7 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