Mesa (master): meson: don't build glx or dri by default on windows

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 10 20:56:54 UTC 2019


Module: Mesa
Branch: master
Commit: e1e2388f06df1c9ab145c99d8f0f6cea22815528
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1e2388f06df1c9ab145c99d8f0f6cea22815528

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Apr 18 13:17:50 2018 -0700

meson: don't build glx or dri by default on windows

v5: - Move is windows check down to make code more robust

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

---

 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index 1ab21dfc2f5..26c1b0bb376 100644
--- a/meson.build
+++ b/meson.build
@@ -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'




More information about the mesa-commit mailing list