From: Vinson Lee Date: Thu, 28 Jan 2010 09:32:15 +0000 (-0800) Subject: scons: Do not use linker option '-Bsymbolic' on Mac OS X. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51ab599ddb213d6b846f333bbf03d5f6dde4831f;p=mesa.git scons: Do not use linker option '-Bsymbolic' on Mac OS X. ld on Mac OS X does not recognize the option '-Bsymbolic'. --- 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