From 73a48600b4242ef50d22cd4fc51f5d71d3579e29 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Wed, 10 Mar 2021 19:27:32 +0100 Subject: [PATCH] meson: detect winflex/bison only on native win32 we want to detect the native bison when cross-compiling Reviewed-by: Jose Fonseca Part-of: --- 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.