From 4b07214b9137b15291ea010004c664b983b3f125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 29 Oct 2022 23:32:58 +0100 Subject: meson: bump req to >= 0.55 and use meson.can_run_host_binaries() .. instead of the deprecated meson.has_exe_wrapper() --- meson.build | 2 +- tools/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 4b2d5bd..b59423b 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project ('orc', 'c', version : '0.4.32', - meson_version : '>= 0.54.0', + meson_version : '>= 0.55.0', default_options : ['buildtype=debugoptimized', 'warning_level=1'] ) diff --git a/tools/meson.build b/tools/meson.build index 0711ff1..127728a 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -3,7 +3,7 @@ orcc = executable ('orcc', 'orcc.c', dependencies : [libm, orc_dep]) # Make orcc usable for other subprojects -if meson.has_exe_wrapper() +if meson.can_run_host_binaries() meson.override_find_program('orcc', orcc) endif -- cgit v1.2.3