From 7b343c79832b541e96a7b9fd46e57f2974457347 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 11 Jan 2021 19:27:48 +0000 Subject: [PATCH] Fix msys2 detection --- setup/check_target.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/check_target.sh b/setup/check_target.sh index 72f25e1..155e7a6 100644 --- a/setup/check_target.sh +++ b/setup/check_target.sh @@ -22,14 +22,14 @@ function check_target() { MACOS=1 MACOS_UNIVERSAL=1 ;; - "win32"|"MINGW32*") + "win32"|"MINGW32"*) WIN32=1 CROSS_COMPILING=1 if [ "$(uname -o)" != "Msys" ] && [ "$(uname -o)" != "Cygwin" ]; then CROSS_COMPILING=1 fi ;; - "win64"|"MINGW64*") + "win64"|"MINGW64"*) WIN32=1 WIN64=1 if [ "$(uname -o)" != "Msys" ] && [ "$(uname -o)" != "Cygwin" ]; then