--- filezilla-3.51.0/src/fzshellext/configure.ac.orig	2021-05-13 14:25:43.735992900 -0700
+++ filezilla-3.51.0/src/fzshellext/configure.ac	2021-05-13 14:27:28.970381500 -0700
@@ -46,7 +46,7 @@
 matching=
 cxx_v=`"$CXX" -v 2>&1`
 if echo "$cxx_v" | grep -i '^target:.*$' >/dev/null 2>&1; then
-	if echo "$cxx_v" | grep -i '^target:.*mingw.*$' >/dev/null 2>&1; then
+	if echo "$cxx_v" | grep -i '^target:.*mingw\|windows-gnu.*$' >/dev/null 2>&1; then
 		matching=1
 	fi
 else
