From 9cc77964cd270f82d3287179c0a740228e90d57b Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 8 Jan 2007 02:35:38 +0000 Subject: [PATCH] add a patch to use our target ar, not the host one (closes: #1164) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6026 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/isakmpd/patches/050-ar_cross.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/isakmpd/patches/050-ar_cross.patch diff --git a/package/isakmpd/patches/050-ar_cross.patch b/package/isakmpd/patches/050-ar_cross.patch new file mode 100644 index 000000000..775e94d90 --- /dev/null +++ b/package/isakmpd/patches/050-ar_cross.patch @@ -0,0 +1,12 @@ +diff -ruN isakmpd-20041012.orig/sysdep/common/libsysdep/GNUmakefile isakmpd-20041012.new/sysdep/common/libsysdep/GNUmakefile +--- isakmpd-20041012.orig/sysdep/common/libsysdep/GNUmakefile 2007-01-08 03:16:16.000000000 +0100 ++++ isakmpd-20041012.new/sysdep/common/libsysdep/GNUmakefile 2007-01-08 03:23:24.000000000 +0100 +@@ -44,7 +44,7 @@ + endif + + lib${LIB}.a: ${SRCS:%.c=%.o} +- ar cq $@ ${SRCS:%.c=%.o} ++ $(AR) cq $@ ${SRCS:%.c=%.o} + + clean: + rm -f lib${LIB}.a ${SRCS:%.c=%.o} -- 2.35.1