summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/SConscript')
-rw-r--r--src/gallium/winsys/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/SConscript b/src/gallium/winsys/SConscript
index 32215d8d586..635a68eea2c 100644
--- a/src/gallium/winsys/SConscript
+++ b/src/gallium/winsys/SConscript
@@ -4,7 +4,8 @@ if dri:
SConscript([
'dri/SConscript',
])
-else:
+
+if 'xlib' in env['drivers'] and not dri:
SConscript([
'xlib/SConscript',
])