Skip to content

Commit 6d66501

Browse files
Biswa96sjaeckel
authored andcommitted
Makefile: Fix shared library build in MinGW.
This enables -no-undefined linker flag in mingw toolchain. Previous related commit 4b85095
1 parent 4b47368 commit 6d66501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makefile_include.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ endif
102102
ifeq ($(PLATFORM), Darwin)
103103
LTM_CFLAGS += -Wno-nullability-completeness
104104
endif
105-
ifeq ($(PLATFORM), CYGWIN)
105+
ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),)
106106
LIBTOOLFLAGS += -no-undefined
107107
endif
108108

0 commit comments

Comments
 (0)