packages/net/iputils/patches/003-fix-makefile.patch
acoul b58ccc42eb net/iputils: update to iputils-20100418
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 09:59:54 +00:00

17 lines
429 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -30,9 +30,11 @@ 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
+ $(CC) $(CFLAGS) -o $@ ping6.o ping_common.o -lresolv -lcrypto
ping.o ping6.o ping_common.o: ping_common.h
tftpd.o tftpsubs.o: tftp.h