Skip to content

Commit 0334c07

Browse files
committed
libffi: Require Meson >= 1.9.2 for MSVC/ARM64 toolchain
See #2469
1 parent 75023d1 commit 0334c07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

subprojects/packagefiles/libffi/src/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ if is_msvc
2727
# MSVC, cannot compile assembly files directly. They need to be preprocessed
2828
# with the C compiler first, then compiled with MASM.
2929
if meson.version().version_compare('>=0.64.0')
30+
if meson.version().version_compare('<1.9.2') and host_cpu_family == 'aarch64'
31+
error('Windows aarch64 requires Meson >= 1.9.2')
32+
endif
3033
ffi_asm_sources = cc.preprocess(
3134
ffi_asm_sources,
3235
output: '@[email protected]',

0 commit comments

Comments
 (0)