From c47f3fa64e66fdaf6ab4b1cba6de0c5841b9faab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Tue, 30 Apr 2024 11:46:46 +0200 Subject: [PATCH] meson: Fix host_os value for Apple Simulator OSes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Sørbø --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f70e654b9..4cc979a33 100644 --- a/meson.build +++ b/meson.build @@ -48,7 +48,7 @@ else build_os_family = build_os endif host_os_family = host_machine.system() -host_os = host_machine.subsystem() +host_os = host_machine.subsystem().split('-')[0] if host_machine.cpu_family() == 'arm' host_arch = 'arm' host_abi = 'arm'