diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-11-08 21:22:56 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-10 17:44:27 +0000 |
commit | 2f08d6b84054cd07def60fc7344008005c2743d1 (patch) | |
tree | 160241a3560437188d3fc1e88ca91d53a162438f | |
parent | 8e73cd04459eb6e5feac9331f3381a5fc8f5367a (diff) | |
download | poky-2f08d6b84054cd07def60fc7344008005c2743d1.tar.gz |
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
(From OE-Core rev: 5356afef9f0ee70fb804ff9fc8746bcaa47c02ba)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive_3.7.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.7.2.bb b/meta/recipes-extended/libarchive/libarchive_3.7.2.bb index a09f607fcf..91f521fa4d 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.7.2.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.7.2.bb | |||
@@ -18,6 +18,7 @@ PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib," | |||
18 | PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,${DEPENDS_BZIP2}," | 18 | PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,${DEPENDS_BZIP2}," |
19 | PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz," | 19 | PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz," |
20 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," | 20 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," |
21 | PACKAGECONFIG[libb2] = "--with-libb2,--without-libb2,libb2," | ||
21 | PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2," | 22 | PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2," |
22 | PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat," | 23 | PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat," |
23 | PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo," | 24 | PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo," |