summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-05-04 12:05:24 -0700
committerKhem Raj <raj.khem@gmail.com>2020-05-04 12:15:50 -0700
commit7d137c5b21913e7d86851124f8f259dff409f9ed (patch)
treeddd0d201e97824d226bb8c56c7252d3b8de85c1b
parente44f77b1a882c0235cb34e8ebb46e86b86d2ec7b (diff)
downloadmeta-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.bb3
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/"
3LICENSE = "GPL-2.0-with-GCC-exception & MIT" 3LICENSE = "GPL-2.0-with-GCC-exception & MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=5b002a195fb7ea2d8d583f07eaff3a8e" 4LIC_FILES_CHKSUM = "file://COPYING;md5=5b002a195fb7ea2d8d583f07eaff3a8e"
5 5
6DEPENDS = "curl openssl zlib libssh2 libgcrypt" 6DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2"
7 7
8SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.0" 8SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.0"
9SRCREV = "7d3c7057f0e774aecd6fc4ef8333e69e5c4873e0" 9SRCREV = "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
21BBCLASSEXTEND = "native" 22BBCLASSEXTEND = "native"