[OE-core] [PATCH] libarchive: Add PACKAGECONFIG for lzo

Paul Barker paul at paulbarker.me.uk
Wed Apr 2 12:54:49 UTC 2014


This ensures that the dependency on lzo is deterministic rather than floating.

The configure option to libarchive refers to this library as 'lzo2' but it is
just called 'lzo' in OpenEmbedded.

Signed-off-by: Paul Barker <paul at paulbarker.me.uk>
---
 meta/recipes-extended/libarchive/libarchive_3.1.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
index d5599e0..f90dc02 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
@@ -24,6 +24,7 @@ PACKAGECONFIG[xz] = "--with-lzmadec --with-lzma,--without-lzmadec --without-lzma
 PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
 PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2,"
 PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat,"
+PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo,"
 
 SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \
            file://libarchive-CVE-2013-0211.patch \
-- 
1.9.1




More information about the Openembedded-core mailing list