From 557695a7690ceaee811a121942e9dc2ae6a03a84 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 20 Apr 2026 21:38:34 +0100 Subject: [PATCH] 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 --- eclass/sysroot.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/sysroot.eclass b/eclass/sysroot.eclass index 57e4a8b156c87..398d5233f1dab 100644 --- a/eclass/sysroot.eclass +++ b/eclass/sysroot.eclass @@ -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