summaryrefslogtreecommitdiff
path: root/package/zlib/patches/100-cross_compile.patch
blob: 143522be1e84b77af4503c2c02bd9cf158212f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- 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
ed&id=6ea4c6c0f2ae52def12bf2f77edd69e314152eca'>[xburst] Drop support for older kernel versionslars 2011-01-06[xburst] Add 2.6.37 supportlars 2010-10-13[xburst] Add 2.6.36 patcheslars 2010-08-04[xburst] Drop 2.6.32 patcheslars 2010-08-04[xburst] Adjust codec driver module name for 2.6.35lars 2010-08-02[xburst] Add 2.6.35 patcheslars 2010-05-12[xburst] Add 2.6.34 patcheslars 2010-03-11[xburst] Add kernel sound packageslars 2010-03-05[xburst] Add support for the n516lars