add a patch to use our target ar, not the host one (closes: #1164)
[openwrt/staging/mkresin.git] / package / isakmpd / patches / 050-ar_cross.patch
1 diff -ruN isakmpd-20041012.orig/sysdep/common/libsysdep/GNUmakefile isakmpd-20041012.new/sysdep/common/libsysdep/GNUmakefile
2 --- isakmpd-20041012.orig/sysdep/common/libsysdep/GNUmakefile 2007-01-08 03:16:16.000000000 +0100
3 +++ isakmpd-20041012.new/sysdep/common/libsysdep/GNUmakefile 2007-01-08 03:23:24.000000000 +0100
4 @@ -44,7 +44,7 @@
5 endif
6
7 lib${LIB}.a: ${SRCS:%.c=%.o}
8 - ar cq $@ ${SRCS:%.c=%.o}
9 + $(AR) cq $@ ${SRCS:%.c=%.o}
10
11 clean:
12 rm -f lib${LIB}.a ${SRCS:%.c=%.o}