Commit 6d95c6f for zlib
commit 6d95c6f685aa9b40e0afc5bcc999eef786ceef00
Author: Mark Adler <git@madler.net>
Date: Mon Feb 16 22:02:09 2026 -0800
Fix the minizip Makefile to work with both BSD and GNU make.
It previously relied on a GNU make implicit rule.
diff --git a/contrib/minizip/Makefile b/contrib/minizip/Makefile
index f5f65f7..07c1f48 100644
--- a/contrib/minizip/Makefile
+++ b/contrib/minizip/Makefile
@@ -14,8 +14,10 @@ iowin32.o: iowin32.c iowin32.h ioapi.h
mztools.o: mztools.c unzip.h
miniunz: $(UNZ_OBJS)
+ ${CC} ${LDFLAGS} -o $@ $(UNZ_OBJS)
minizip: $(ZIP_OBJS)
+ ${CC} ${LDFLAGS} -o $@ $(ZIP_OBJS)
test: miniunz minizip
@rm -f test.*