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')