summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libarchive
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-02-17 17:14:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-23 12:49:51 -0800
commitb4c2bd20d62c86468998c5fa278e512469683e81 (patch)
tree0dbc5ee71bb6977749a1718fe835e96d32bae316 /meta/recipes-extended/libarchive
parentc3447903e8eb800135a7fa1799b97c4b73a1075e (diff)
downloadpoky-b4c2bd20d62c86468998c5fa278e512469683e81.tar.gz
libarchive: fix bzip2 dependency for native build
When DEPENDS=bzip2 becomes bzip2-native in libarchive-native, the dependency ends up getting ignored because bzip2-native is in ASSUME_PROVIDED. But we need the library and thus have to depend on bzip2-replacement-native, otherwise the build proceeds without it despite the explicit --with-bz2lib. (From OE-Core rev: 7ae1c93ab6df46dc88b0ffaa52778738849ff38d) (From OE-Core rev: 76772f36c4ae8e416b471abe883f117977803aac) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libarchive')
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.2.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.2.2.bb b/meta/recipes-extended/libarchive/libarchive_3.2.2.bb
index 8ad62adf01..a7c1204bd2 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.2.2.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.2.2.bb
@@ -18,11 +18,14 @@ PACKAGECONFIG_append_class-target = "\
18 18
19PACKAGECONFIG_append_class-nativesdk = " largefile" 19PACKAGECONFIG_append_class-nativesdk = " largefile"
20 20
21DEPENDS_BZIP2 = "bzip2-replacement-native"
22DEPENDS_BZIP2_class-target = "bzip2"
23
21PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," 24PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
22PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," 25PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
23PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," 26PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
24PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib," 27PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib,"
25PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,bzip2," 28PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,${DEPENDS_BZIP2},"
26PACKAGECONFIG[xz] = "--with-lzmadec --with-lzma,--without-lzmadec --without-lzma,xz," 29PACKAGECONFIG[xz] = "--with-lzmadec --with-lzma,--without-lzmadec --without-lzma,xz,"
27PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," 30PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
28PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2," 31PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2,"