Mesa (master): meson: detect winflex/bison only on native win32

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 11 11:20:38 UTC 2021


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

Author: Michel Zou <xantares09 at hotmail.com>
Date:   Wed Mar 10 19:27:32 2021 +0100

meson: detect winflex/bison only on native win32

we want to detect the native bison when cross-compiling

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9375>

---

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index cd8b6e252fd..4ba0bd1217d 100644
--- a/meson.build
+++ b/meson.build
@@ -1708,7 +1708,7 @@ else
   asan_c_args = ['-DBUILT_WITH_ASAN=0']
 endif
 
-if host_machine.system() == 'windows'
+if build_machine.system() == 'windows'
   # Prefer the winflexbison versions, they're much easier to install and have
   # better windows support.
 



More information about the mesa-commit mailing list