diff mbox series

[2/3] libzip: Inherit lib_package to package the tools separately

Message ID 20261102140700.2707257-2-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
Recommend them for backwards compatibility. This allows them to be
skipped using BAD_RECOMMENDATIONS.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta/recipes-extended/libzip/libzip_1.12.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
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 bfa23b6d9b..900f65b531 100644
--- a/meta/recipes-extended/libzip/libzip_1.12.1.bb
+++ b/meta/recipes-extended/libzip/libzip_1.12.1.bb
@@ -15,7 +15,7 @@  DEPENDS = "zlib"
 SRC_URI = "https://libzip.org/download/libzip-${PV}.tar.xz"
 SRC_URI[sha256sum] = "c40062022a1963c80573d48f6070792297cecd7c6bffe3aefcac0d8b9bee8913"
 
-inherit cmake
+inherit cmake lib_package
 
 PACKAGECONFIG ?= "bzip2 ssl lzma tools examples"
 
@@ -28,4 +28,6 @@  PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON,-DBUILD_TOOLS=OFF"
 PACKAGECONFIG[examples] = "-DBUILD_EXAMPLES=ON,-DBUILD_EXAMPLES=OFF"
 PACKAGECONFIG[tests] = "-DBUILD_REGRESS=ON,-DBUILD_REGRESS=OFF"
 
+RRECOMMENDS:${PN} = "${PN}-bin"
+
 BBCLASSEXTEND = "native nativesdk"