scons: Do not use linker option '-Bsymbolic' on Mac OS X.

ld on Mac OS X does not recognize the option '-Bsymbolic'.
This commit is contained in:
Vinson Lee
2010-01-28 01:32:15 -08:00
parent 6baa2c8d02
commit 51ab599ddb

View File

@@ -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