summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-17 10:35:32 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-22 16:42:19 +0100
commit600b8240874b4c53e81e66f0e5574fca35464351 (patch)
treebc39358e187626f3ef4311eed1133fdedddcda08
parent2bc747aaead96d3eebc97a9d6c638b8eb44de180 (diff)
downloadmtk-20170518-600b8240874b4c53e81e66f0e5574fca35464351.zip
mtk-20170518-600b8240874b4c53e81e66f0e5574fca35464351.tar.gz
mtk-20170518-600b8240874b4c53e81e66f0e5574fca35464351.tar.bz2
openvpn: use conditional dependencies to avoid pulling in unused ssl libraries
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/services/openvpn/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile
index 24fb897..182093d 100644
--- a/package/network/services/openvpn/Makefile
+++ b/package/network/services/openvpn/Makefile
@@ -37,8 +37,8 @@ define Package/openvpn/Default
MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
endef
-Package/openvpn-openssl=$(call Package/openvpn/Default,openssl,OpenSSL,+libopenssl)
-Package/openvpn-mbedtls=$(call Package/openvpn/Default,mbedtls,mbedTLS,+libmbedtls)
+Package/openvpn-openssl=$(call Package/openvpn/Default,openssl,OpenSSL,+PACKAGE_openvpn-openssl:libopenssl)
+Package/openvpn-mbedtls=$(call Package/openvpn/Default,mbedtls,mbedTLS,+PACKAGE_openvpn-mbedtls:libmbedtls)
Package/openvpn-nossl=$(call Package/openvpn/Default,nossl,plaintext (no SSL))
define Package/openvpn/config/Default