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:
@@ -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
|
||||
|
Reference in New Issue
Block a user