[PATCH] Update iputils to 20101006
[openwrt/svn-archive/archive.git] / net / iputils / patches / 003-fix-makefile.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -30,9 +30,13 @@ all: $(TARGETS)
4
5
6 tftpd: tftpd.o tftpsubs.o
7 -arping: arping.o -lsysfs
8 +arping: arping.o
9 + $(CC) $(CFLAGS) -o $@ arping.o -lsysfs
10 ping: ping.o ping_common.o
11 -ping6: ping6.o ping_common.o -lresolv -lcrypto
12 +ping6: ping6.o ping_common.o
13 +ifneq ($(CONFIG_USE_UCLIBC),y)
14 + $(CC) $(CFLAGS) -o $@ ping6.o ping_common.o -lresolv -lcrypto
15 +endif
16 ping.o ping6.o ping_common.o: ping_common.h
17 tftpd.o tftpsubs.o: tftp.h
18