bootstrap: Add support for MSYS2

Bootstrapping under MSYS2 is the same as under MSYS/MinGW except that
`uname` reports `MSYS...` instead of `MINGW...`.
This commit is contained in:
Brad King 2016-07-20 09:15:36 -04:00
parent e9849d35aa
commit 7ec32a00d7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ else
fi
# Determine whether this is a MinGW environment.
if echo "${cmake_system}" | grep MINGW >/dev/null 2>&1; then
if echo "${cmake_system}" | grep 'MINGW\|MSYS' >/dev/null 2>&1; then
cmake_system_mingw=true
else
cmake_system_mingw=false