1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-17 01:01:53 +02:00
openwrt-xburst/package/zlib/patches/100-cross_compile.patch
acoul 267340c878 package/zlib: update to zlib-1.2.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 07:45:25 +00:00

30 lines
518 B
Diff

--- a/Makefile.in
+++ b/Makefile.in
@@ -36,7 +36,7 @@ SHAREDLIBV=libz.so.1.2.5
SHAREDLIBM=libz.so.1
LIBS=$(STATICLIB) $(SHAREDLIBV)
-AR=ar rc
+AR=ar
RANLIB=ranlib
LDCONFIG=ldconfig
LDSHAREDLIBC=-lc
@@ -44,6 +44,8 @@ TAR=tar
SHELL=/bin/sh
EXE=
+DESTDIR =
+
prefix = /usr/local
exec_prefix = ${prefix}
libdir = ${exec_prefix}/lib
@@ -108,7 +110,7 @@ test64: all64
-@rm -f foo.gz
libz.a: $(OBJS)
- $(AR) $@ $(OBJS)
+ $(AR) rc $@ $(OBJS)
-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
match.o: match.S