summaryrefslogtreecommitdiffstats
path: root/package/zlib/zlib-arflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/zlib/zlib-arflags.patch')
-rw-r--r--package/zlib/zlib-arflags.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/zlib/zlib-arflags.patch b/package/zlib/zlib-arflags.patch
new file mode 100644
index 000000000..f9dae52be
--- /dev/null
+++ b/package/zlib/zlib-arflags.patch
@@ -0,0 +1,21 @@
+--- zlib-1.2.3/Makefile.in
++++ zlib-1.2.3/Makefile.in
+@@ -33,7 +33,8 @@
+ SHAREDLIBV=libz.so.1.2.3
+ SHAREDLIBM=libz.so.1
+
+-AR=ar rc
++AR=ar
++ARFLAGS=rc
+ RANLIB=ranlib
+ TAR=tar
+ SHELL=/bin/sh
+@@ -68,7 +69,7 @@
+ fi
+
+ libz.a: $(OBJS) $(OBJA)
+- $(AR) $@ $(OBJS) $(OBJA)
++ $(AR) $(ARFLAGS) $@ $(OBJS) $(OBJA)
+ -@ ($(RANLIB) $@ || true) >/dev/null 2>&1
+
+ match.o: match.S