From 51ab599ddb213d6b846f333bbf03d5f6dde4831f Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 28 Jan 2010 01:32:15 -0800 Subject: [PATCH] scons: Do not use linker option '-Bsymbolic' on Mac OS X. ld on Mac OS X does not recognize the option '-Bsymbolic'. --- scons/gallium.py | 7 ++++--- 1 file 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 -- 2.30.2