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..3f0596e19c1 100644
--- a/src/gallium/winsys/SConscript
+++ b/src/gallium/winsys/SConscript
@@ -4,7 +4,8 @@ if dri:
SConscript([
'dri/SConscript',
])
-else:
+
+if env['x11'] and not dri and platform != 'winddk':
SConscript([
'xlib/SConscript',
])