From c5bc0bd7c4cc2765cc8d105b9d2b4cf3aa81195a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 18 Oct 2021 16:51:37 +0100 Subject: [PATCH] meson: fix use of deprecated meson api meson.has_exe_wrapper() Use meson.can_run_host_binaries() instead. Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f7f373a64d..bbabf5f7b0 100644 --- a/meson.build +++ b/meson.build @@ -389,7 +389,7 @@ devenv_cmd = [setenv, '--builddir=@0@'.format(meson.project_build_root()), '--srcdir=@0@'.format(meson.project_source_root())] subdir('tests') -if meson.has_exe_wrapper() and build_machine.system() == 'linux' and host_machine.system() == 'windows' +if meson.can_run_host_binaries() and build_machine.system() == 'linux' and host_machine.system() == 'windows' # FIXME: Ideally we could get the wrapper directly from meson devenv_cmd += ['--wine', host_machine.cpu_family() == 'x86_64' ? 'wine64' : 'wine32'] sysroot = meson.get_cross_property('sys_root')