瀏覽代碼

Better detection of MinGW build.

Mike Pall 6 年之前
父節點
當前提交
3404183e23
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/Makefile

+ 4 - 0
src/Makefile

@@ -165,6 +165,10 @@ else
     HOST_SYS= Windows
     HOST_MSYS= mingw
   endif
+  ifneq (,$(findstring MSYS,$(HOST_SYS)))
+    HOST_SYS= Windows
+    HOST_MSYS= mingw
+  endif
   ifneq (,$(findstring CYGWIN,$(HOST_SYS)))
     HOST_SYS= Windows
     HOST_MSYS= cygwin