Merge pull request #506 from Biswa96/develop Makefile: Fix shared library build in MinGW.
diff --git a/makefile_include.mk b/makefile_include.mk
index 0d17cec..dca5c3b 100644
--- a/makefile_include.mk
+++ b/makefile_include.mk
@@ -102,7 +102,7 @@ endif
ifeq ($(PLATFORM), Darwin)
LTM_CFLAGS += -Wno-nullability-completeness
endif
-ifeq ($(PLATFORM), CYGWIN)
+ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),)
LIBTOOLFLAGS += -no-undefined
endif