Files
MINGW-packages/mingw-w64-libtomcrypt/0001-makefile-enable-no-undefined.patch
2021-03-29 21:36:59 +05:30

12 lines
284 B
Diff

--- 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)