Blame SOURCES/0053-Better-detection-of-MinGW-build.patch

006bc1
From 3404183e2387f48e3464bd79116d3e8021ca781e Mon Sep 17 00:00:00 2001
006bc1
From: Mike Pall <mike>
006bc1
Date: Thu, 10 Jan 2019 12:02:15 +0100
006bc1
Subject: [PATCH 53/72] Better detection of MinGW build.
006bc1
006bc1
---
006bc1
 src/Makefile | 4 ++++
006bc1
 1 file changed, 4 insertions(+)
006bc1
006bc1
diff --git a/src/Makefile b/src/Makefile
006bc1
index 24e8c0e..962aa94 100644
006bc1
--- a/src/Makefile
006bc1
+++ b/src/Makefile
006bc1
@@ -165,6 +165,10 @@ else
006bc1
     HOST_SYS= Windows
006bc1
     HOST_MSYS= mingw
006bc1
   endif
006bc1
+  ifneq (,$(findstring MSYS,$(HOST_SYS)))
006bc1
+    HOST_SYS= Windows
006bc1
+    HOST_MSYS= mingw
006bc1
+  endif
006bc1
   ifneq (,$(findstring CYGWIN,$(HOST_SYS)))
006bc1
     HOST_SYS= Windows
006bc1
     HOST_MSYS= cygwin
006bc1
-- 
006bc1
2.20.1
006bc1