diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-05-04 12:05:24 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-04 12:15:50 -0700 |
commit | 7d137c5b21913e7d86851124f8f259dff409f9ed (patch) | |
tree | ddd0d201e97824d226bb8c56c7252d3b8de85c1b | |
parent | e44f77b1a882c0235cb34e8ebb46e86b86d2ec7b (diff) | |
download | meta-openembedded-7d137c5b21913e7d86851124f8f259dff409f9ed.tar.gz |
libgit2: Enable pcre2 regexp backend
As a side effect it helps the builds where pcre is staged in native
sysroot and CMake system is confusing that and adds it to linker
cmdline, its evident with clang as cross compiler since it brings
libpcre-native into native sysroot
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair@alistair23.me>
-rw-r--r-- | meta-oe/recipes-support/libgit2/libgit2_1.0.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libgit2/libgit2_1.0.0.bb b/meta-oe/recipes-support/libgit2/libgit2_1.0.0.bb index fd26a0fe9..74343683f 100644 --- a/meta-oe/recipes-support/libgit2/libgit2_1.0.0.bb +++ b/meta-oe/recipes-support/libgit2/libgit2_1.0.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libgit2.github.com/" | |||
3 | LICENSE = "GPL-2.0-with-GCC-exception & MIT" | 3 | LICENSE = "GPL-2.0-with-GCC-exception & MIT" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b002a195fb7ea2d8d583f07eaff3a8e" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b002a195fb7ea2d8d583f07eaff3a8e" |
5 | 5 | ||
6 | DEPENDS = "curl openssl zlib libssh2 libgcrypt" | 6 | DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.0" | 8 | SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.0" |
9 | SRCREV = "7d3c7057f0e774aecd6fc4ef8333e69e5c4873e0" | 9 | SRCREV = "7d3c7057f0e774aecd6fc4ef8333e69e5c4873e0" |
@@ -16,6 +16,7 @@ EXTRA_OECMAKE = "\ | |||
16 | -DBUILD_CLAR=OFF \ | 16 | -DBUILD_CLAR=OFF \ |
17 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | 17 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
18 | -DLIB_INSTALL_DIR=${libdir} \ | 18 | -DLIB_INSTALL_DIR=${libdir} \ |
19 | -DREGEX_BACKEND='pcre2' \ | ||
19 | " | 20 | " |
20 | 21 | ||
21 | BBCLASSEXTEND = "native" | 22 | BBCLASSEXTEND = "native" |