mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 15:20:37 +02:00
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:
parent
6baa2c8d02
commit
51ab599ddb
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue