diff options
author | Vinson Lee <[email protected]> | 2010-01-28 01:32:15 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-01-28 01:34:40 -0800 |
commit | 51ab599ddb213d6b846f333bbf03d5f6dde4831f (patch) | |
tree | b9328fbbfe4b9e4e3e0b5aed87f7eca9f25bffea /scons | |
parent | 6baa2c8d022e5dd1e305e7da2925c1e6f9370f35 (diff) |
scons: Do not use linker option '-Bsymbolic' on Mac OS X.
ld on Mac OS X does not recognize the option '-Bsymbolic'.
Diffstat (limited to 'scons')
-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 |