From 4159b2594f4cef7c347fc959caa5dc3edc18e5ff Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 11 Jan 2021 19:32:40 +0000 Subject: [PATCH] Also support generic msys/cygwin --- setup/check_target.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/check_target.sh b/setup/check_target.sh index 155e7a6..babe856 100644 --- a/setup/check_target.sh +++ b/setup/check_target.sh @@ -36,6 +36,12 @@ function check_target() { CROSS_COMPILING=1 fi ;; + "CYGWIN"*|"MSYS"*) + WIN32=1 + if [ "$(uname -m)" = "x86_64" ]; then + WIN64=1 + fi + ;; "linux"|"Linux") LINUX=1 ;;