aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-01-08 01:25:27 +0000
committerJosé Fonseca <[email protected]>2010-01-08 01:25:27 +0000
commitd699b6720c391a0ab44e09b5fa93fc51b1a13c9e (patch)
tree73db5bcd1c895a6b144213a93e9a354b649ee3bc /src
parentba33ef00118d1c6017585af1498b89e99fe045be (diff)
scons: Don't build xlib when dri is enabled.
Hopefully adddresses fdo 25828.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/xlib/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/winsys/xlib/SConscript b/src/gallium/winsys/xlib/SConscript
index cdc31d22a21..a4dabb7804c 100644
--- a/src/gallium/winsys/xlib/SConscript
+++ b/src/gallium/winsys/xlib/SConscript
@@ -10,6 +10,10 @@ if 'mesa' not in env['statetrackers']:
print 'warning: Mesa state tracker disabled: skipping build of xlib libGL.so'
Return()
+if env['dri']:
+ print 'warning: DRI enabled: skipping build of xlib libGL.so'
+ Return()
+
if 'trace' not in env['drivers']:
print 'warning: trace pipe driver disabled: skipping build of xlib libGL.so'
Return()