scons: Don't build xlib when dri is enabled.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 8 Jan 2010 01:25:27 +0000 (01:25 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 8 Jan 2010 01:25:27 +0000 (01:25 +0000)
Hopefully adddresses fdo 25828.

src/gallium/winsys/xlib/SConscript

index cdc31d22a21f93f1cc5e460817485fca980a2bda..a4dabb7804cca9a361958b7a3b192e17d4f79614 100644 (file)
@@ -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()