on master help sign in
Fix the build on MSYS2 (Windows) when MSYSTEM=MINGW{32,64}
commiteeb5e8708e5ac7dc226c07cf835492d0d5b60611 authorRyan Scott <ryan.gl.scott@gmail.com> dateMon 30 Jan 2017, 11:28 (10 years ago) parent735fbd2
1 file changed+3−1
config.mk+3−1
config.mk+3−1
@@ -1,4 +1,6 @@
1−ifneq (, $(findstring MSYS, $(shell uname -a)))
1+UNAME_INFO := $(shell uname -a)
2+
3+ifeq ($(filter , $(findstring MSYS, $(UNAME_INFO)) $(findstring MINGW, $(UNAME_INFO))),)
24 ifeq (cc,$(CC))
35 # In MSYS2, when using the mingw version of gcc, there is no cc -> gcc
46 # symlink. We can't use ?= here because CC is set implicitly to cc.