--- a/makefile_include.mk | |
+++ b/makefile_include.mk | |
@@ -97,7 +97,7 @@ | |
ifeq ($(PLATFORM), Darwin) | |
LTM_CFLAGS += -Wno-nullability-completeness | |
endif | |
-ifeq ($(PLATFORM), CYGWIN) | |
+ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),) | |
LIBTOOLFLAGS += -no-undefined | |
endif | |