[Buildroot] [PATCH 1/2] package/libzip: use ENABLE_BZIP2

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Jul 20 20:42:06 UTC 2020


Use ENABLE_BZIP2 option which is available since version 1.5.2 and
https://github.com/nih-at/libzip/commit/028c492c9d45ca29e2fbec79a203ba492016f15e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/libzip/libzip.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk
index 379eb2c5df..6023dbec1b 100644
--- a/package/libzip/libzip.mk
+++ b/package/libzip/libzip.mk
@@ -15,8 +15,9 @@ HOST_LIBZIP_DEPENDENCIES = host-zlib
 
 ifeq ($(BR2_PACKAGE_BZIP2),y)
 LIBZIP_DEPENDENCIES += bzip2
+LIBZIP_CONF_OPTS += -DENABLE_BZIP2=ON
 else
-LIBZIP_CONF_OPTS += -DCMAKE_DISABLE_FIND_PACKAGE_BZIP2=TRUE
+LIBZIP_CONF_OPTS += -DENABLE_BZIP2=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_GNUTLS),y)
-- 
2.27.0



More information about the buildroot mailing list