diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-07-08 09:36:47 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-07-08 12:17:45 +0200 |
commit | d5d1df1ba75f8acb97eb69d779b86bbeb472aa69 (patch) | |
tree | d09e6ca268e7383683ddcf4f6403c2d55f3beb10 | |
parent | 975dedc753121607300ff059591522b21c4350bc (diff) | |
download | buildroot-d5d1df1ba75f8acb97eb69d779b86bbeb472aa69.tar.gz buildroot-d5d1df1ba75f8acb97eb69d779b86bbeb472aa69.zip |
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>
-rw-r--r-- | package/libzip/libzip.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk index 0253a61cda..20c04122ec 100644 --- a/package/libzip/libzip.mk +++ b/package/libzip/libzip.mk @@ -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 |