[PATCH 3/4] lsd: add missing libgit2 build dependency

Ross Burton <[email protected]> Fri, 31 Jul 2026 20:15:22 +0100
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
Needed since our cargo class now stops the git2-sys crate from using a
bundled copy of libgit2. Also inherit pkgconfig as that is used to find
the system libgit2.

Signed-off-by: Ross Burton <[email protected]>
---
 meta-oe/recipes-extended/lsd/lsd_1.2.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/lsd/lsd_1.2.0.bb b/meta-oe/recipes-=
extended/lsd/lsd_1.2.0.bb
index 7310e56a78..a79616ef6e 100644
--- a/meta-oe/recipes-extended/lsd/lsd_1.2.0.bb
+++ b/meta-oe/recipes-extended/lsd/lsd_1.2.0.bb
@@ -13,7 +13,9 @@ LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D153d2db1c329=
326a2d9f881317ea942e"
 SRC_URI =3D "git://github.com/lsd-rs/lsd.git;protocol=3Dhttps;branch=3Dm=
ain;tag=3Dv${PV}"
 SRCREV =3D "d5a4e1cb80626d5ec94b237f6b77f7280d0f2fc9"
=20
-inherit cargo cargo-update-recipe-crates
+DEPENDS =3D "libgit2"
+
+inherit cargo cargo-update-recipe-crates pkgconfig
=20
 require ${BPN}-crates.inc
=20
--=20
2.43.0