diff options
Diffstat (limited to 'network_cmds/Makefile')
-rw-r--r-- | network_cmds/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/network_cmds/Makefile b/network_cmds/Makefile index 4d21c8e..296ddb4 100644 --- a/network_cmds/Makefile +++ b/network_cmds/Makefile @@ -10,7 +10,6 @@ SUBDIR= arp.tproj \ mptcp_client \ mtest.tproj \ ndp.tproj \ - netstat.tproj \ ping.tproj \ ping6.tproj \ pktapctl \ @@ -23,4 +22,13 @@ SUBDIR= arp.tproj \ traceroute.tproj \ traceroute6.tproj +.if !defined(MK_NETSTAT) +MK_NETSTAT=no +.endif + +# netstat doesnt build on iOS 12, if building for higher set MK_NETSTAT to yes +.if ${MK_NETSTAT} == "yes" +SUBDIR+= netstat.tproj +.endif + .include <bsd.subdir.mk> |