Skip to contentSkip to conversation

libarchive: Add packageconfig knob for libb2

PATCH New Khem Raj 1 participant 1 message Nov 9, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libarchive: Add packageconfig knob for libb2

automatic detection could result in inconsistent host dependencies since it will be enabled for libarchive-native if the build host has libb2 installed and this can then fail on hosts which do not have this library installed

Fixes errors like
recipe-sysroot-native/usr/bin/opkg: error while loading shared libraries: libb2.so.1: cannot open shared object file: No such file or directory

---
 meta/recipes-extended/libarchive/libarchive_3.7.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-extended/libarchive/libarchive_3.7.2.bb +1 -0
index a09f607fcf8..91f521fa4db 100644
@@ -18,6 +18,7 @@ PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib,"
 PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,${DEPENDS_BZIP2},"
 PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz,"
 PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
+PACKAGECONFIG[libb2] = "--with-libb2,--without-libb2,libb2,"
 PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2,"
 PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat,"
 PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo,"
Signature · 1 line
2.42.1