From: Marc-André Lureau <[email protected]> IIRC, this fixes build on msys2 - although I can't reproduce. Maybe with some other host, on *bsd?
Signed-off-by: Marc-André Lureau <[email protected]> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 32eb313941..c2f4534964 100755 --- a/configure +++ b/configure @@ -1205,7 +1205,7 @@ if test "$rust" != disabled && test -z "$rust_target_triple"; then # arch and os generally matches between meson and rust rust_arch=$host_arch rust_os=$host_os - rust_machine=unknown + rust_machine=$(echo $rust_host_triple | cut -d- -f2) rust_osvariant= # tweak rust_os if needed; also, machine and variant depend on the OS -- 2.51.0
