tools/sethost.sh: add MSYS2 MSYS environment

add MSYS2 MSYS environment
This commit is contained in:
simbit18 2023-10-24 12:29:05 +02:00 committed by Xiang Xiao
parent 9112b9e4c0
commit 9c984bbe5c

View File

@ -79,6 +79,7 @@ done
# Cygwin: CYGWIN_NT-10.0-WOW
# Linux: Linux
# MSYS: MINGW32_NT-6.2
# MSYS2: MSYS_NT-6.3-9600
# BSD: FreeBSD, OpenBSD, NetBSD, *BSD
if [ -z "$host" ]; then
@ -98,6 +99,10 @@ if [ -z "$host" ]; then
host=windows
wenv=msys
;;
MSYS*)
host=windows
wenv=msys
;;
*)
# Assume linux as a fallback