summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 7 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 1f6e1a77b8..988bcb3c28 100644
--- a/meson.build
+++ b/meson.build
@@ -289,9 +289,13 @@ if with_glx == 'auto'
elif with_platform_haiku
with_glx = 'disabled'
elif with_gallium
- # Even when building just gallium drivers the user probably wants dri
- with_glx = 'dri'
- with_dri = true
+ if host_machine.system() == 'windows'
+ with_glx = 'disabled'
+ else
+ # Even when building just gallium drivers the user probably wants dri
+ with_glx = 'dri'
+ with_dri = true
+ endif
elif with_platform_x11 and with_any_opengl and not with_any_vk
# The automatic behavior should not be to turn on xlib based glx when
# building only vulkan drivers