From 016916e6e208a9f92a96af61892ccd891a9a8bb3 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 20 Jul 2020 22:42:06 +0200 Subject: [PATCH] package/libzip: use ENABLE_BZIP2 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 Signed-off-by: Thomas Petazzoni --- 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.30.2