summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/SConscript')
-rw-r--r--src/gallium/winsys/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/SConscript b/src/gallium/winsys/SConscript
index 3f0596e19c..635a68eea2 100644
--- a/src/gallium/winsys/SConscript
+++ b/src/gallium/winsys/SConscript
@@ -5,7 +5,7 @@ if dri:
'dri/SConscript',
])
-if env['x11'] and not dri and platform != 'winddk':
+if 'xlib' in env['drivers'] and not dri:
SConscript([
'xlib/SConscript',
])