Browse Source

Fix msys2 detection

tags/v1.0
falkTX 4 years ago
parent
commit
7b343c7983
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      setup/check_target.sh

+ 2
- 2
setup/check_target.sh View File

@@ -22,14 +22,14 @@ function check_target() {
MACOS=1 MACOS=1
MACOS_UNIVERSAL=1 MACOS_UNIVERSAL=1
;; ;;
"win32"|"MINGW32*")
"win32"|"MINGW32"*)
WIN32=1 WIN32=1
CROSS_COMPILING=1 CROSS_COMPILING=1
if [ "$(uname -o)" != "Msys" ] && [ "$(uname -o)" != "Cygwin" ]; then if [ "$(uname -o)" != "Msys" ] && [ "$(uname -o)" != "Cygwin" ]; then
CROSS_COMPILING=1 CROSS_COMPILING=1
fi fi
;; ;;
"win64"|"MINGW64*")
"win64"|"MINGW64"*)
WIN32=1 WIN32=1
WIN64=1 WIN64=1
if [ "$(uname -o)" != "Msys" ] && [ "$(uname -o)" != "Cygwin" ]; then if [ "$(uname -o)" != "Msys" ] && [ "$(uname -o)" != "Cygwin" ]; then


Loading…
Cancel
Save