diff options
author | Stefan Müller-Klieser <s.mueller-klieser@phytec.de> | 2018-01-05 16:31:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-06 22:32:22 +0000 |
commit | 0204af246714d8ce16b346011ee1e0aa9e7c93bf (patch) | |
tree | f6820ac2b3e0276e3a1690e3fd01b02c3768faa5 /meta | |
parent | 3ab6e17ffeabc7c82d35ab2c01a85b6286ddfa34 (diff) | |
download | poky-0204af246714d8ce16b346011ee1e0aa9e7c93bf.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libpcre/libpcre2_10.30.bb | 7 |
1 files 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 a7df055906..46c2d630e5 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 = "\ | |||
33 | --enable-rebuild-chartables \ | 33 | --enable-rebuild-chartables \ |
34 | --with-link-size=2 \ | 34 | --with-link-size=2 \ |
35 | --with-match-limit=10000000 \ | 35 | --with-match-limit=10000000 \ |
36 | --enable-pcre2-16 \ | ||
37 | --enable-pcre2-32 \ | ||
36 | " | 38 | " |
37 | |||
38 | # Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to | 39 | # Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to |
39 | # set CFLAGS_FOR_BUILD, required for the libpcre build. | 40 | # set CFLAGS_FOR_BUILD, required for the libpcre build. |
40 | BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}/src" | 41 | BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}/src" |
@@ -43,13 +44,15 @@ CXXFLAGS_append_powerpc = " -lstdc++" | |||
43 | 44 | ||
44 | export CCLD_FOR_BUILD ="${BUILD_CCLD}" | 45 | export CCLD_FOR_BUILD ="${BUILD_CCLD}" |
45 | 46 | ||
46 | PACKAGES =+ "pcre2grep pcre2grep-doc pcre2test pcre2test-doc" | 47 | PACKAGES =+ "libpcre2-16 libpcre2-32 pcre2grep pcre2grep-doc pcre2test pcre2test-doc" |
47 | 48 | ||
48 | SUMMARY_pcre2grep = "grep utility that uses perl 5 compatible regexes" | 49 | SUMMARY_pcre2grep = "grep utility that uses perl 5 compatible regexes" |
49 | SUMMARY_pcre2grep-doc = "grep utility that uses perl 5 compatible regexes - docs" | 50 | SUMMARY_pcre2grep-doc = "grep utility that uses perl 5 compatible regexes - docs" |
50 | SUMMARY_pcre2test = "program for testing Perl-comatible regular expressions" | 51 | SUMMARY_pcre2test = "program for testing Perl-comatible regular expressions" |
51 | SUMMARY_pcre2test-doc = "program for testing Perl-comatible regular expressions - docs" | 52 | SUMMARY_pcre2test-doc = "program for testing Perl-comatible regular expressions - docs" |
52 | 53 | ||
54 | FILES_libpcre2-16 = "${libdir}/libpcre2-16.so.*" | ||
55 | FILES_libpcre2-32 = "${libdir}/libpcre2-32.so.*" | ||
53 | FILES_pcre2grep = "${bindir}/pcre2grep" | 56 | FILES_pcre2grep = "${bindir}/pcre2grep" |
54 | FILES_pcre2grep-doc = "${mandir}/man1/pcre2grep.1" | 57 | FILES_pcre2grep-doc = "${mandir}/man1/pcre2grep.1" |
55 | FILES_pcre2test = "${bindir}/pcre2test" | 58 | FILES_pcre2test = "${bindir}/pcre2test" |