diff --git a/meson.build b/meson.build index 0e90e2417..893dfeb76 100644 --- a/meson.build +++ b/meson.build @@ -23,7 +23,7 @@ endif api_version = '1.0' 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'