From 29893c63e34ee21846744d02c396ae3c801b936b Mon Sep 17 00:00:00 2001 From: amirgon Date: Tue, 20 Nov 2018 18:46:12 +0200 Subject: [PATCH] Recognize MSYS compiler as MINGW compiler (#1290) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d8cb900794..a77247df62 100644 --- a/Makefile +++ b/Makefile @@ -302,7 +302,7 @@ CFLAGS := $(CFLAGS:-fPIC=) # On Windows we need the shared library to be executable else # mingw? -IS_MINGW := $(shell $(CC) --version 2>/dev/null | grep -i mingw | wc -l) +IS_MINGW := $(shell $(CC) --version 2>/dev/null | grep -i "\(mingw\|MSYS\)" | wc -l) ifeq ($(IS_MINGW),1) EXT = dll AR_EXT = lib