[Mesa-dev] [PATCH v4 12/49] meson: don't build glx or dri by default on windows

Dylan Baker dylan at pnwbakers.com
Wed Aug 22 17:04:35 UTC 2018


Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
 meson.build | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 1af610573d5..5102ffe0c7c 100644
--- a/meson.build
+++ b/meson.build
@@ -264,8 +264,12 @@ 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'
+    if host_machine.system() == 'windows'
+      with_glx = 'disabled'
+    else
+      # Even when building just gallium drivers the user probably wants dri
+      with_glx = 'dri'
+    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.18.0



More information about the mesa-dev mailing list