[oe-commits] [openembedded-core] 05/17: libpcre2: add packages for 16-bit and 32-bit code unit support

git at git.openembedded.org git at git.openembedded.org
Sat Jan 6 10:14:45 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 5ce6409fd588605648a51bd2f5825fd9ae147f79
Author: Stefan Müller-Klieser <s.mueller-klieser at phytec.de>
AuthorDate: Fri Jan 5 16:31:54 2018 +0100

    libpcre2: add packages for 16-bit and 32-bit code unit support
    
    The packages loosely follow the debian package names. In that way more
    projects, e.g. Qt5 for 16-bit, are able use system libraries. This does
    not change the existing default package.
    
    Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser at phytec.de>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-support/libpcre/libpcre2_10.30.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libpcre/libpcre2_10.30.bb b/meta/recipes-support/libpcre/libpcre2_10.30.bb
index a7df055..46c2d63 100644
--- a/meta/recipes-support/libpcre/libpcre2_10.30.bb
+++ b/meta/recipes-support/libpcre/libpcre2_10.30.bb
@@ -33,8 +33,9 @@ EXTRA_OECONF = "\
     --enable-rebuild-chartables \
     --with-link-size=2 \
     --with-match-limit=10000000 \
+    --enable-pcre2-16 \
+    --enable-pcre2-32 \
 "
-
 # Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
 # set CFLAGS_FOR_BUILD, required for the libpcre build.
 BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}/src"
@@ -43,13 +44,15 @@ CXXFLAGS_append_powerpc = " -lstdc++"
 
 export CCLD_FOR_BUILD ="${BUILD_CCLD}"
 
-PACKAGES =+ "pcre2grep pcre2grep-doc pcre2test pcre2test-doc"
+PACKAGES =+ "libpcre2-16 libpcre2-32 pcre2grep pcre2grep-doc pcre2test pcre2test-doc"
 
 SUMMARY_pcre2grep = "grep utility that uses perl 5 compatible regexes"
 SUMMARY_pcre2grep-doc = "grep utility that uses perl 5 compatible regexes - docs"
 SUMMARY_pcre2test = "program for testing Perl-comatible regular expressions"
 SUMMARY_pcre2test-doc = "program for testing Perl-comatible regular expressions - docs"
 
+FILES_libpcre2-16 = "${libdir}/libpcre2-16.so.*"
+FILES_libpcre2-32 = "${libdir}/libpcre2-32.so.*"
 FILES_pcre2grep = "${bindir}/pcre2grep"
 FILES_pcre2grep-doc = "${mandir}/man1/pcre2grep.1"
 FILES_pcre2test = "${bindir}/pcre2test"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list