Commit f3b88795c543200795ffdf351abea1cc8a54ebb4

Steffen Jaeckel 2022-10-03T12:12:16

Merge pull request #506 from Biswa96/develop Makefile: Fix shared library build in MinGW.

1
2
3
4
5
6
7
8
9
10
11
12
13
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