cargo: fix build
build fails on musl with more recent versions of the libc crate
This commit is contained in:
parent
7c7225f528
commit
b68db8e7f6
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cargo'
|
||||
pkgname=cargo
|
||||
version=0.36.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_helper=rust
|
||||
hostmakedepends="rust python curl cmake pkg-config"
|
||||
makedepends="libcurl-devel libgit2-devel"
|
||||
|
@ -100,6 +100,8 @@ do_build() {
|
|||
cargo="./cargo"
|
||||
fi
|
||||
|
||||
$cargo update
|
||||
$cargo update --package libc --precise 0.2.55
|
||||
$cargo build --release $(vopt_if static --features="all-static")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue