diff options
Diffstat (limited to 'src/gallium/targets/libgl-xlib')
-rw-r--r-- | src/gallium/targets/libgl-xlib/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-xlib/SConscript b/src/gallium/targets/libgl-xlib/SConscript index 952ab62fdde..fc0264c882a 100644 --- a/src/gallium/targets/libgl-xlib/SConscript +++ b/src/gallium/targets/libgl-xlib/SConscript @@ -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( |