Browse Source

Makefile: Fix shared library build in MinGW.

This enables -no-undefined linker flag in mingw toolchain.
Previous related commit 9c2c9f8af4c1e0073284baceb34a5c88f0e33b49
Biswapriyo Nath 4 years ago
parent
commit
e86dbc4591
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makefile.shared

+ 1 - 1
makefile.shared

@@ -30,7 +30,7 @@ else
   endif
 endif
 
-ifeq ($(PLATFORM), CYGWIN)
+ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),)
   NO_UNDEFINED:=-no-undefined
 endif