Instead of forcibly depending on "ip" (the tiny variant), depend on the new
virtual "ip-command" to allow users to pick their desired flavor in menuconfig
instead.

Signed-off-by: Jo-Philipp Wich <j...@mein.io>
---
 package/network/services/openvpn/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/openvpn/Makefile 
b/package/network/services/openvpn/Makefile
index c88fcbd..3611790 100644
--- a/package/network/services/openvpn/Makefile
+++ b/package/network/services/openvpn/Makefile
@@ -32,7 +32,7 @@ define Package/openvpn/Default
   URL:=http://openvpn.net
   SUBMENU:=VPN
   MENU:=1
-  DEPENDS:=+kmod-tun +OPENVPN_$(1)_ENABLE_LZO:liblzo 
+OPENVPN_$(1)_ENABLE_IPROUTE2:ip $(3)
+  DEPENDS:=+kmod-tun +OPENVPN_$(1)_ENABLE_LZO:liblzo 
+OPENVPN_$(1)_ENABLE_IPROUTE2:ip-command $(3)
   VARIANT:=$(1)
   MAINTAINER:=Mirko Vogt <mi...@openwrt.org>
 endef
-- 
2.1.4


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to