aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iputils/patches/002-fix-ipv6.patch
blob: 4411ca7ef321238456b420f426d5931822572af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,10 @@ CFLAGS=$(CCOPT) $(GLIBCFIX) $(DEFINES)
 
 IPV4_TARGETS=tracepath ping clockdiff arping tftpd
 IPV6_TARGETS=tracepath6 traceroute6 ping6
-TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
+TARGETS=$(IPV4_TARGETS)
+ifeq ($(CONFIG_IPV6),y)
+	TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
+endif
 
 LASTTAG:=`git describe HEAD | sed -e 's/-.*//'`
 TAG:=`date +s%Y%m%d`