summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-07-21 09:55:04 +0100
committerJosé Fonseca <[email protected]>2013-07-21 09:55:04 +0100
commit190312949e8ce2c1dc884d4db5d6a44511666641 (patch)
tree0c6af3946d2be698f7ffa6b706f11a70a44d892c /src/mesa/drivers/x11/SConscript
parentcd90ebefd4f63d00eb65af6069fb078e454c43f1 (diff)
scons: Don't use -z defs ld option on Mac.
Should fix fdo bug 67098.
Diffstat (limited to 'src/mesa/drivers/x11/SConscript')
-rw-r--r--src/mesa/drivers/x11/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/SConscript b/src/mesa/drivers/x11/SConscript
index 52952324386..b1b854d0225 100644
--- a/src/mesa/drivers/x11/SConscript
+++ b/src/mesa/drivers/x11/SConscript
@@ -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(