Module: Mesa Branch: master Commit: 51ab599ddb213d6b846f333bbf03d5f6dde4831f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51ab599ddb213d6b846f333bbf03d5f6dde4831f
Author: Vinson Lee <[email protected]> Date: Thu Jan 28 01:32:15 2010 -0800 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 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index 91a2fbb..467b67f 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
