From e86dbc45910cec612dfd39bf485ba206142da9f7 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 28 Mar 2021 22:06:52 +0530 Subject: [PATCH] Makefile: Fix shared library build in MinGW. This enables -no-undefined linker flag in mingw toolchain. Previous related commit 9c2c9f8af4c1e0073284baceb34a5c88f0e33b49 --- makefile.shared | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile.shared b/makefile.shared index e63d77032..53a05dc8d 100644 --- a/makefile.shared +++ b/makefile.shared @@ -30,7 +30,7 @@ else endif endif -ifeq ($(PLATFORM), CYGWIN) +ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),) NO_UNDEFINED:=-no-undefined endif