sysroot.eclass: Use Wine when the tuple is *-cygwin

Untested, but a user asked for this, and there's no harm in it.

Closes: https://bugs.gentoo.org/970795
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2026-04-20 21:38:34 +01:00
parent 7b83a56968
commit 557695a769

View File

@@ -133,7 +133,7 @@ sysroot_make_run_prefixed() {
fi
fi
if [[ ${CHOST} = *-mingw32 ]]; then
if [[ ${CHOST} = *-mingw32 || ${CHOST} = *-cygwin ]]; then
if ! type -P wine >/dev/null; then
einfo "Wine not found. Continuing without ${SCRIPT##*/} wrapper."
return 2