Skip to contentSkip to conversation

ripgrep: limit libstd-rs DEPENDS to class-target

PATCH New [email protected] 1 participant 1 message Dec 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ripgrep: limit libstd-rs DEPENDS to class-target

From: Deepesh Varatharajan <[email protected]>

Avoid pulling in a non-existent libstd-rs-native dependency by restricting libstd-rs to class-target builds.

---
 meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb +1 -1
index 7bb6be1cb6..9b323bba12 100644
@@ -15,7 +15,7 @@ S = "${CARGO_VENDORING_DIRECTORY}/ripgrep-${PV}"
 
 inherit cargo cargo-update-recipe-crates
 
-DEPENDS += "libstd-rs"
+DEPENDS:append:class-target = " libstd-rs"
 
 require ${BPN}-crates.inc
 
Signature · 1 line
2.49.0