Merge pull request #290 from YoeDistro/yoe/mut
cargo: Mark the cargo-native dependency specific to target
This commit is contained in:
@@ -9,7 +9,7 @@ inherit cargo_common
|
|||||||
CARGO = "cargo"
|
CARGO = "cargo"
|
||||||
|
|
||||||
# We need cargo to compile for the target
|
# We need cargo to compile for the target
|
||||||
BASEDEPENDS_append = " cargo-native"
|
BASEDEPENDS_append_class-target = " cargo-native"
|
||||||
|
|
||||||
# Ensure we get the right rust variant
|
# Ensure we get the right rust variant
|
||||||
DEPENDS_append_class-target = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}"
|
DEPENDS_append_class-target = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}"
|
||||||
|
|||||||
Reference in New Issue
Block a user