@@ -1,4 +1,12 @@
1−CC ?=cc
1+ifneq (, $(findstring MSYS, $(shell uname -a)))
3+ # In MSYS2, when using the mingw version of gcc, there is no cc -> gcc
4+ # symlink. We can't use ?= here because CC is set implicitly to cc.
5+ # Cross compiling users can set CC to their cross compiler.
3RANLIB ?=ranlib
11RANLIB ?=ranlib