1 This patch changes all of the hard-coded invocations of "ar" to $(AR), to
2 support a cross-compilation toolchain.
4 The content of this patch was copied from the OpenWrt project:
5 https://dev.openwrt.org/browser/packages/net/xinetd/patches/001-ar.patch
7 Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
9 --- a/libs/src/misc/Makefile.in
10 +++ b/libs/src/misc/Makefile.in
14 $(LIBNAME): $(OBJECTS)
20 --- a/libs/src/portable/Makefile.in
21 +++ b/libs/src/portable/Makefile.in
25 $(LIBNAME): $(OBJECTS)
31 --- a/libs/src/pset/Makefile.in
32 +++ b/libs/src/pset/Makefile.in
34 mv $(LIBNAME) $(LIBDIR)/optimized
36 $(LIBNAME): $(OBJECTS)
42 --- a/libs/src/sio/Makefile.in
43 +++ b/libs/src/sio/Makefile.in
45 $(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)/optimized
47 $(LIBNAME): $(OBJECTS)
53 --- a/libs/src/str/Makefile.in
54 +++ b/libs/src/str/Makefile.in
56 $(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)-O
58 $(LIBNAME): $(OBJECTS)
63 LINT_IGNORE=possible pointer alignment|RCSid unused
64 --- a/libs/src/xlog/Makefile.in
65 +++ b/libs/src/xlog/Makefile.in
67 $(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)/optimized
69 $(LIBNAME): $(OBJECTS)