[Buildroot] [git commit] libzip: add optional openssl support

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Sun Jul 8 10:17:45 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=975dedc753121607300ff059591522b21c4350bc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

openssl support has been added since version 1.5.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/libzip/libzip.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk
index d46bc17977..0253a61cda 100644
--- a/package/libzip/libzip.mk
+++ b/package/libzip/libzip.mk
@@ -18,4 +18,11 @@ else
 LIBZIP_CONF_OPTS += -DCMAKE_DISABLE_FIND_PACKAGE_BZIP2=TRUE
 endif
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBZIP_DEPENDENCIES += openssl
+LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=ON
+else
+LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=OFF
+endif
+
 $(eval $(cmake-package))


More information about the buildroot mailing list