From: Fabrice Fontaine Date: Mon, 20 Jul 2020 20:42:07 +0000 (+0200) Subject: package/libzip: add mbedtls optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2cfc784b7357cde4f4e5c8549edc6d23d2474de;p=buildroot.git package/libzip: add mbedtls optional dependency mbedtls is available (and enabled by default) since version 1.5.2 and https://github.com/nih-at/libzip/commit/8e01a4fe8fa830c973b6a00f0da1e8b01789529a Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk index 6023dbec1b..9d64db32fa 100644 --- a/package/libzip/libzip.mk +++ b/package/libzip/libzip.mk @@ -27,6 +27,13 @@ else LIBZIP_CONF_OPTS += -DENABLE_GNUTLS=OFF endif +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBZIP_DEPENDENCIES += mbedtls +LIBZIP_CONF_OPTS += -DENABLE_MBEDTLS=ON +else +LIBZIP_CONF_OPTS += -DENABLE_MBEDTLS=OFF +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) LIBZIP_DEPENDENCIES += openssl LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=ON