[Mesa-dev] [PATCH 11/48] meson: don't build glx or dri by default on windows
Dylan Baker
dylan at pnwbakers.com
Mon Jun 11 22:55:38 UTC 2018
---
meson.build | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index 9c8b9ca9ba5..1bdeeb95ec5 100644
--- a/meson.build
+++ b/meson.build
@@ -266,9 +266,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
--
2.17.1
More information about the mesa-dev
mailing list