meson: don't build glx or dri by default on windows
authorDylan Baker <dylan@pnwbakers.com>
Wed, 18 Apr 2018 20:17:50 +0000 (13:17 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 10 Sep 2019 20:36:47 +0000 (20:36 +0000)
v5: - Move is windows check down to make code more robust

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build

index 1ab21dfc2f50986bfc9745c9f8d60375f2daedd0..26c1b0bb376ed167b0ed79ca0ae415885279baac 100644 (file)
@@ -320,6 +320,8 @@ if with_glx == 'auto'
     with_glx = 'dri'
   elif with_platform_haiku
     with_glx = 'disabled'
+  elif host_machine.system() == 'windows'
+    with_glx = 'disabled'
   elif with_gallium
     # Even when building just gallium drivers the user probably wants dri
     with_glx = 'dri'