Browse Source

Better detection of MinGW build.

Mike Pall 6 năm trước cách đây
mục cha
commit
3404183e23
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/Makefile

+ 4 - 0
src/Makefile

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