commit | 29893c63e34ee21846744d02c396ae3c801b936b | [log] [tgz] |
---|---|---|
author | amirgon <amirgonnen@gmail.com> | Tue Nov 20 18:46:12 2018 +0200 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Wed Nov 21 00:46:12 2018 +0800 |
tree | 8b5e66abe349e2afe7056a88f29c3c9df38e4ed3 | |
parent | f01c267f889e932b069a559ce0c604c1ae986c0a [diff] |
Recognize MSYS compiler as MINGW compiler (#1290)
diff --git a/Makefile b/Makefile index d8cb900..a77247d 100644 --- a/Makefile +++ b/Makefile
@@ -302,7 +302,7 @@ # 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