From: Felix Fietkau Date: Sat, 17 Dec 2016 09:35:32 +0000 (+0100) Subject: openvpn: use conditional dependencies to avoid pulling in unused ssl libraries X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=600b8240874b4c53e81e66f0e5574fca35464351;p=openwrt%2Fstaging%2Fynezz.git openvpn: use conditional dependencies to avoid pulling in unused ssl libraries Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index 24fb897a01..182093d3e8 100644 --- a/package/network/services/openvpn/Makefile +++ b/package/network/services/openvpn/Makefile @@ -37,8 +37,8 @@ define Package/openvpn/Default MAINTAINER:=Mirko Vogt 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