diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-02-17 17:14:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-23 12:49:51 -0800 |
commit | b4c2bd20d62c86468998c5fa278e512469683e81 (patch) | |
tree | 0dbc5ee71bb6977749a1718fe835e96d32bae316 /meta/recipes-extended/libarchive | |
parent | c3447903e8eb800135a7fa1799b97c4b73a1075e (diff) | |
download | poky-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.bb | 5 |
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 | ||
19 | PACKAGECONFIG_append_class-nativesdk = " largefile" | 19 | PACKAGECONFIG_append_class-nativesdk = " largefile" |
20 | 20 | ||
21 | DEPENDS_BZIP2 = "bzip2-replacement-native" | ||
22 | DEPENDS_BZIP2_class-target = "bzip2" | ||
23 | |||
21 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," | 24 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," |
22 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," | 25 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," |
23 | PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," | 26 | PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," |
24 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib," | 27 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib," |
25 | PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,bzip2," | 28 | PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,${DEPENDS_BZIP2}," |
26 | PACKAGECONFIG[xz] = "--with-lzmadec --with-lzma,--without-lzmadec --without-lzma,xz," | 29 | PACKAGECONFIG[xz] = "--with-lzmadec --with-lzma,--without-lzmadec --without-lzma,xz," |
27 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," | 30 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," |
28 | PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2," | 31 | PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2," |