mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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. (From OE-Core rev: 5ce6409fd588605648a51bd2f5825fd9ae147f79) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3ab6e17ffe
commit
0204af2467
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user