summaryrefslogtreecommitdiffstats
path: root/PATCHES/zlib_ranlib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'PATCHES/zlib_ranlib.patch')
-rw-r--r--PATCHES/zlib_ranlib.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/PATCHES/zlib_ranlib.patch b/PATCHES/zlib_ranlib.patch
new file mode 100644
index 0000000..6dc9b72
--- /dev/null
+++ b/PATCHES/zlib_ranlib.patch
@@ -0,0 +1,13 @@
+diff -ruNb zlib-1.2.11.orig/Makefile.in zlib-1.2.11/Makefile.in
+--- zlib-1.2.11.orig/Makefile.in 2017-01-15 18:29:40.000000000 +0100
++++ zlib-1.2.11/Makefile.in 2017-05-30 14:41:17.075800210 +0200
+@@ -128,8 +128,8 @@
+ gcov inf*.c
+
+ libz.a: $(OBJS)
++ $(RANLIB) $@
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+- -@ ($(RANLIB) $@ || true) >/dev/null 2>&1
+
+ match.o: match.S
+ $(CPP) match.S > _match.s