aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iputils/patches/003-fix-makefile.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:22:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:22:18 +0000
commit936c1b9424ec53f450a3b62ac2d8a9155d45ae88 (patch)
treec3d55d0736d0f354d8b1ca58e05cc82a5d0ef8b6 /package/network/utils/iputils/patches/003-fix-makefile.patch
parent8230e20a799f5391ca5b5560abc6148d10e8a8d6 (diff)
downloadupstream-936c1b9424ec53f450a3b62ac2d8a9155d45ae88.tar.gz
upstream-936c1b9424ec53f450a3b62ac2d8a9155d45ae88.tar.bz2
upstream-936c1b9424ec53f450a3b62ac2d8a9155d45ae88.zip
iputils: move to trunk and add myself as maintainer
SVN-Revision: 33704
Diffstat (limited to 'package/network/utils/iputils/patches/003-fix-makefile.patch')
-rw-r--r--package/network/utils/iputils/patches/003-fix-makefile.patch18
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 0000000000..926c685519
--- /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
+