package/libzip: add mbedtls optional dependency
mbedtls is available (and enabled by default) since version 1.5.2 and
8e01a4fe8f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
016916e6e2
commit
e2cfc784b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user