Fix building on MSYS2

This commit is contained in:
2015-12-15 07:19:28 +01:00
committed by Valeriano A.R
parent 1e1c4328ba
commit 0f40c5be8e
10 changed files with 114 additions and 92 deletions

View File

@@ -1,4 +1,6 @@
ifneq (,$(findstring MINGW,$(shell uname -s)))
IsMinGW=$(findstring MSYS,$(shell uname -s)) $(findstring MINGW,$(shell uname -s))
ifneq (,$(IsMinGW))
TARGET_ARCH=mingw
else
TARGET_ARCH=linux