Browse Source

Merge pull request #564 from Biswa96/develop

Makefile: Fix shared library build in MinGW.
Steffen Jaeckel 4 years ago
parent
commit
ae87fca70a
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
 endif
 endif
 
 
-ifeq ($(PLATFORM), CYGWIN)
+ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),)
   NO_UNDEFINED:=-no-undefined
   NO_UNDEFINED:=-no-undefined
 endif
 endif