libzip: add optional gnutls support
gnutls support has been added since version 1.5.0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
975dedc753
commit
d5d1df1ba7
|
@ -18,6 +18,13 @@ else
|
|||
LIBZIP_CONF_OPTS += -DCMAKE_DISABLE_FIND_PACKAGE_BZIP2=TRUE
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
LIBZIP_DEPENDENCIES += gnutls
|
||||
LIBZIP_CONF_OPTS += -DENABLE_GNUTLS=ON
|
||||
else
|
||||
LIBZIP_CONF_OPTS += -DENABLE_GNUTLS=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBZIP_DEPENDENCIES += openssl
|
||||
LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=ON
|
||||
|
|
Loading…
Reference in a new issue