Merge pull request #303 from janderholm/nativebuilds

Fix *-native cargo builds
This commit is contained in:
Cody Schafer
2021-02-08 10:14:12 -05:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -45,6 +45,7 @@ export LIBSSH2_SYS_USE_PKG_CONFIG = "1"
BBCLASSEXTEND = "native"
# When building cargo-native we don't have a built cargo to use so we must use
# the snapshot to bootstrap the build of cargo
# When building cargo-native we don't have cargo-native to use and depend on,
# so we must use the locally set up snapshot to bootstrap the build.
BASEDEPENDS_remove_class-native = "cargo-native"
CARGO_class-native = "${WORKDIR}/${CARGO_SNAPSHOT}/bin/cargo"