blob: d32996396af8a420c96c9e7cec7300f8f3935442 [file] [log] [blame] [edit]
--- 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)