diff mbox series

[1/3] libzip: Allow support for bzip2 to be disabled

Message ID 20261102140700.2707257-1-pkj@axis.com
State Under Review
Headers show
Series [1/3] libzip: Allow support for bzip2 to be disabled | expand

Commit Message

Peter Kjellerstedt Nov. 2, 2026, 2:06 p.m. UTC
Enable it by default.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta/recipes-extended/libzip/libzip_1.12.1.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-extended/libzip/libzip_1.12.1.bb b/meta/recipes-extended/libzip/libzip_1.12.1.bb
index 95bac993f9..bfa23b6d9b 100644
--- a/meta/recipes-extended/libzip/libzip_1.12.1.bb
+++ b/meta/recipes-extended/libzip/libzip_1.12.1.bb
@@ -10,15 +10,16 @@  SECTION = "libs"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e6fcea978dc627f41e0bada0de889ec4"
 
-DEPENDS = "zlib bzip2"
+DEPENDS = "zlib"
 
 SRC_URI = "https://libzip.org/download/libzip-${PV}.tar.xz"
 SRC_URI[sha256sum] = "c40062022a1963c80573d48f6070792297cecd7c6bffe3aefcac0d8b9bee8913"
 
 inherit cmake
 
-PACKAGECONFIG ?= "ssl lzma tools examples"
+PACKAGECONFIG ?= "bzip2 ssl lzma tools examples"
 
+PACKAGECONFIG[bzip2] = "-DENABLE_BZIP2=ON,-DENABLE_BZIP2=OFF,bzip2"
 PACKAGECONFIG[ssl] = "-DENABLE_OPENSSL=ON,-DENABLE_OPENSSL=OFF,openssl"
 PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF,gnutls nettle"
 PACKAGECONFIG[lzma] = "-DENABLE_LZMA=ON,-DENABLE_LZMA=OFF,xz"