[source] openvpn: use conditional dependencies to avoid pulling in unused ssl libraries

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 22 07:46:22 PST 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/600b8240874b4c53e81e66f0e5574fca35464351

commit 600b8240874b4c53e81e66f0e5574fca35464351
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Dec 17 10:35:32 2016 +0100

    openvpn: use conditional dependencies to avoid pulling in unused ssl libraries
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/services/openvpn/Makefile | 4 ++--
 1 file 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 at 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



More information about the lede-commits mailing list