From bb46aa517f22ccea9700eeac3ccbb4b027978c70 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 31 Jul 2026 20:15:22 +0100 Subject: [PATCH] lsd: add missing libgit2 build dependency 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 Signed-off-by: Khem Raj --- 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 = "file://LICENSE;md5=153d2db1c329326a2d9f881317ea942e" SRC_URI = "git://github.com/lsd-rs/lsd.git;protocol=https;branch=main;tag=v${PV}" SRCREV = "d5a4e1cb80626d5ec94b237f6b77f7280d0f2fc9" -inherit cargo cargo-update-recipe-crates +DEPENDS = "libgit2" + +inherit cargo cargo-update-recipe-crates pkgconfig require ${BPN}-crates.inc