diff options
author | John Crispin <john@phrozen.org> | 2017-08-24 08:08:42 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-08-24 08:09:14 +0200 |
commit | d99c52765d1eb0155f570440d8d0a6989e607985 (patch) | |
tree | f0d2565ca0758bba4b7c71743831bd4e07e16582 /package/network/utils/iputils/patches/003-fix-makefile.patch | |
parent | fc48aebdc1d97c73ec8a8428d981bdaa850568d2 (diff) | |
download | mtk-20170518-d99c52765d1eb0155f570440d8d0a6989e607985.zip mtk-20170518-d99c52765d1eb0155f570440d8d0a6989e607985.tar.gz mtk-20170518-d99c52765d1eb0155f570440d8d0a6989e607985.tar.bz2 |
Revert "iputils: switch to new upstream"
This reverts commit 77d3ac8e3ecd7989a7cffb575c4a42bc68190b6c.
This reverts commit e665b3df2a47ba5bb049d13358937ac67b860b70.
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/network/utils/iputils/patches/003-fix-makefile.patch')
-rw-r--r-- | package/network/utils/iputils/patches/003-fix-makefile.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/network/utils/iputils/patches/003-fix-makefile.patch b/package/network/utils/iputils/patches/003-fix-makefile.patch new file mode 100644 index 0000000..926c685 --- /dev/null +++ b/package/network/utils/iputils/patches/003-fix-makefile.patch @@ -0,0 +1,18 @@ +--- a/Makefile ++++ b/Makefile +@@ -30,9 +30,13 @@ all: $(TARGETS) + + + tftpd: tftpd.o tftpsubs.o +-arping: arping.o -lsysfs ++arping: arping.o ++ $(CC) $(CFLAGS) -o $@ arping.o -lsysfs + ping: ping.o ping_common.o +-ping6: ping6.o ping_common.o -lresolv -lcrypto ++ping6: ping6.o ping_common.o ++ifneq ($(CONFIG_USE_UCLIBC),y) ++ $(CC) $(CFLAGS) -o $@ ping6.o ping_common.o -lresolv -lcrypto ++endif + ping.o ping6.o ping_common.o: ping_common.h + tftpd.o tftpsubs.o: tftp.h + |