diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile index e2a86c97d8d26e..b6854d1abbba08 100644 --- a/package/network/utils/wireguard-tools/Makefile +++ b/package/network/utils/wireguard-tools/Makefile @@ -35,9 +35,8 @@ define Package/wireguard-tools MAINTAINER:=Jason A. Donenfeld TITLE:=WireGuard userspace control program (wg) DEPENDS:= \ - +@BUSYBOX_CONFIG_IP \ - +@BUSYBOX_CONFIG_FEATURE_IP_LINK \ - +kmod-wireguard + +!(BUSYBOX_CONFIG_IP||BUSYBOX_CONFIG_FEATURE_IP_LINK):ip \ + +kmod-wireguard endef define Package/wireguard-tools/description