--- a/makefile.shared | |
+++ b/makefile.shared | |
@@ -23,7 +23,7 @@ | |
LIBTOOL:=libtool | |
endif | |
endif | |
-ifeq ($(PLATFORM), CYGWIN) | |
+ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),) | |
NO_UNDEFINED:=-no-undefined | |
endif | |
LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) |