summaryrefslogtreecommitdiff
path: root/package/isakmpd
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-01-08 02:35:38 +0000
committerNicolas Thill <nico@openwrt.org>2007-01-08 02:35:38 +0000
commite7704d111cb28f0fc73bc5a62cdab1ee068885c6 (patch)
treecdc7c998a305e98bf798875b25c4ec734f000c09 /package/isakmpd
parentbed47be36c3b1c2faa3c3eb8c878c5f19b42aa73 (diff)
downloadmtk-20170518-e7704d111cb28f0fc73bc5a62cdab1ee068885c6.zip
mtk-20170518-e7704d111cb28f0fc73bc5a62cdab1ee068885c6.tar.gz
mtk-20170518-e7704d111cb28f0fc73bc5a62cdab1ee068885c6.tar.bz2
add a patch to use our target ar, not the host one (closes: #1164)
SVN-Revision: 6026
Diffstat (limited to 'package/isakmpd')
-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 0000000..775e94d
--- /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}