Merge pull request #1037 from heuripedes/master

(qb) Fix OS detection under msys2
This commit is contained in:
Twinaphex 2014-09-17 22:39:14 +02:00
commit 4eb80db8de

View File

@ -14,7 +14,7 @@ if [ -n "$CROSS_COMPILE" ]; then
esac
fi
if [ -z "$OS" ]; then
if [ -z "$CROSS_COMPILE" ] || [ -z "$OS" ]; then
case "$(uname)" in
'Linux') OS='Linux';;
*'BSD') OS='BSD';;