build-style/cargo.sh: add
This commit is contained in:
committed by
Enno Boland
parent
17eda45988
commit
0318d0385a
10
common/environment/build-style/cargo.sh
Normal file
10
common/environment/build-style/cargo.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
hostmakedepends+=" cargo"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
makedepends+=" rust"
|
||||
fi
|
||||
|
||||
# Use the config we set in do_configure
|
||||
export CARGO_HOME="$wrksrc/.cargo"
|
||||
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
Reference in New Issue
Block a user