cargo_util.bbclass: fix for native users

Building native packages with cargo means with need a native rust
compiler
This commit is contained in:
Steven Walter
2016-09-01 11:35:36 -04:00
parent c6ea2fe285
commit 11f0c95763
+1
View File
@@ -13,6 +13,7 @@ BASEDEPENDS_append = " cargo-native"
# Ensure we get the right rust variant
DEPENDS_append_class-target = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}"
DEPENDS_append_class-native = " rust-native"
# Cargo only supports in-tree builds at the moment
B = "${S}"