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:
parent
e9849d35aa
commit
7ec32a00d7
|
@ -90,7 +90,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Determine whether this is a MinGW environment.
|
# 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
|
cmake_system_mingw=true
|
||||||
else
|
else
|
||||||
cmake_system_mingw=false
|
cmake_system_mingw=false
|
||||||
|
|
Loading…
Reference in New Issue