fix: use meson subsystem and needs_exe_wrapper for cross builds on Windows

Relates-to: mesonbuild/meson#15840
Fixes: #15753
Test-bot: skip
This commit is contained in:
Marc Durdin 2026-06-10 05:43:42 +02:00
parent c31cbecce1
commit a47fd7d365
3 changed files with 6 additions and 1 deletions

View file

@ -119,7 +119,7 @@ jobs:
- name: Install meson
shell: bash
run: |
pip3 install --user meson==1.10.1
pip3 install --user meson==1.11.0
- name: Run test
shell: bash

View file

@ -1,5 +1,6 @@
[host_machine]
system = 'windows'
subsystem = 'windows'
cpu_family = 'aarch64'
cpu = 'arm64'
endian = 'little'

View file

@ -1,5 +1,6 @@
[host_machine]
system = 'windows'
subsystem = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
@ -11,3 +12,6 @@ ar = 'lib'
ld = 'link'
strip = 'llvm-strip'
pkgconfig = 'pkg-config'
[properties]
needs_exe_wrapper = false