summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-08 02:35:38 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-08 02:35:38 +0000
commit9cc77964cd270f82d3287179c0a740228e90d57b (patch)
treedbe25e560fb56fb6f1df4207f8829c6748f32d85
parent4f53f8d738498892c6a612d27cf6cedbcd4b1d88 (diff)
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
-rw-r--r--package/isakmpd/patches/050-ar_cross.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/isakmpd/patches/050-ar_cross.patch b/package/isakmpd/patches/050-ar_cross.patch
new file mode 100644
index 0000000000..775e94d905
--- /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}