Recognize MSYS compiler as MINGW compiler (#1290)

This commit is contained in:
amirgon 2018-11-20 18:46:12 +02:00 committed by Nguyen Anh Quynh
parent f01c267f88
commit 29893c63e3
1 changed files with 1 additions and 1 deletions

View File

@ -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