Merge pull request #290 from YoeDistro/yoe/mut

cargo: Mark the cargo-native dependency specific to target
This commit is contained in:
Cody Schafer
2021-02-07 00:28:51 -05:00
committed by GitHub

View File

@@ -9,7 +9,7 @@ inherit cargo_common
CARGO = "cargo"
# 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
DEPENDS_append_class-target = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}"