mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
scons: Don't use -z defs ld option on Mac.
Should fix fdo bug 67098.
This commit is contained in:
parent
cd90ebefd4
commit
190312949e
2 changed files with 4 additions and 2 deletions
|
|
@ -46,7 +46,8 @@ if env['llvm']:
|
|||
env.Prepend(LIBS = [llvmpipe])
|
||||
|
||||
# Disallow undefined symbols
|
||||
env.Append(SHLINKFLAGS = ['-Wl,-z,defs'])
|
||||
if env['platform'] != 'darwin':
|
||||
env.Append(SHLINKFLAGS = ['-Wl,-z,defs'])
|
||||
|
||||
# libGL.so.1.5
|
||||
libgl_1_5 = env.SharedLibrary(
|
||||
|
|
|
|||
|
|
@ -32,7 +32,8 @@ sources = [
|
|||
]
|
||||
|
||||
# Disallow undefined symbols
|
||||
env.Append(SHLINKFLAGS = ['-Wl,-z,defs'])
|
||||
if env['platform'] != 'darwin':
|
||||
env.Append(SHLINKFLAGS = ['-Wl,-z,defs'])
|
||||
|
||||
# libGL.so.1.6
|
||||
libgl_1_6 = env.SharedLibrary(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue