You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freifunkist-firmware/package/zlib/patches/100-cross_compile.patch

30 lines
518 B

--- 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