summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cargo/cargo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/cargo/cargo.inc')
-rw-r--r--meta/recipes-devtools/cargo/cargo.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cargo/cargo.inc b/meta/recipes-devtools/cargo/cargo.inc
index 978504052b..e34554a9d7 100644
--- a/meta/recipes-devtools/cargo/cargo.inc
+++ b/meta/recipes-devtools/cargo/cargo.inc
@@ -56,3 +56,8 @@ export LIBSSH2_SYS_USE_PKG_CONFIG = "1"
56# so we must use the locally set up snapshot to bootstrap the build. 56# so we must use the locally set up snapshot to bootstrap the build.
57BASEDEPENDS:remove:class-native = "cargo-native" 57BASEDEPENDS:remove:class-native = "cargo-native"
58CARGO:class-native = "${WORKDIR}/${CARGO_SNAPSHOT}/bin/cargo" 58CARGO:class-native = "${WORKDIR}/${CARGO_SNAPSHOT}/bin/cargo"
59
60DEPENDS:append:class-nativesdk = " nativesdk-rust"
61RUSTLIB:append:class-nativesdk = " -L ${STAGING_DIR_HOST}/${SDKPATHNATIVE}/usr/lib/rustlib/${RUST_HOST_SYS}/lib"
62
63