Skip to content

Commit

Permalink
Recognize MSYS compiler as MINGW compiler (capstone-engine#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
amirgon authored and aquynh committed Nov 20, 2018
1 parent f01c267 commit 29893c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29893c6

Please sign in to comment.