summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-01-08 01:25:27 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-01-08 01:25:27 +0000
commitd699b6720c391a0ab44e09b5fa93fc51b1a13c9e (patch)
tree73db5bcd1c895a6b144213a93e9a354b649ee3bc
parentba33ef00118d1c6017585af1498b89e99fe045be (diff)
scons: Don't build xlib when dri is enabled.
Hopefully adddresses fdo 25828.
-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 cdc31d22a2..a4dabb7804 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()