summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2015-09-18 08:43:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:52:56 +0100
commitbe493ba7df535495d28afa926457623753060d68 (patch)
tree9e22ecd0d1fafe332708ed1fafcfde6e67c25029
parentf32a6e1f597389fdbb382c139cad00568cd9afaa (diff)
downloadpoky-be493ba7df535495d28afa926457623753060d68.tar.gz
libpcre: Allow building 16 and 32bit libpcre versions
This change allows selecting the 8, 16 or 32 bit version via PACKAGECONFIG. By default only the 8bit version is built, this corresponds to the old behavior. Some packages like Qt5 require the 16 bit version of libpcre. After this change the corresponding layer can easily enable the version needed via .bbappend. (From OE-Core rev: 6c133405c790d29859d441cc596e6459cb32537f) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.37.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.37.bb b/meta/recipes-support/libpcre/libpcre_8.37.bb
index bcfc9e9afa..1880639a27 100644
--- a/meta/recipes-support/libpcre/libpcre_8.37.bb
+++ b/meta/recipes-support/libpcre/libpcre_8.37.bb
@@ -22,6 +22,11 @@ S = "${WORKDIR}/pcre-${PV}"
22PROVIDES += "pcre" 22PROVIDES += "pcre"
23DEPENDS += "bzip2 zlib" 23DEPENDS += "bzip2 zlib"
24 24
25PACKAGECONFIG ??= "pcre8"
26
27PACKAGECONFIG[pcre8] = "--enable-pcre8,--disable-pcre8"
28PACKAGECONFIG[pcre16] = "--enable-pcre16,--disable-pcre16"
29PACKAGECONFIG[pcre32] = "--enable-pcre32,--disable-pcre32"
25PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," 30PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline,"
26 31
27BINCONFIG = "${bindir}/pcre-config" 32BINCONFIG = "${bindir}/pcre-config"