Skip to content
Snippets Groups Projects
Verified Commit 3e081637 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update cargo recipe

parent acbeb013
No related branches found
No related tags found
No related merge requests found
GIT=https://gitlab.redox-os.org/redox-os/cargo.git
GIT_UPSTREAM=https://github.com/rust-lang/cargo.git
BRANCH=redox
BUILD_DEPENDS=(curl openssl zlib)
function recipe_build {
sysroot="$(realpath ../sysroot)"
export DEP_OPENSSL_ROOT="$sysroot"
export OPENSSL_DIR="$sysroot"
export DEP_Z_ROOT="$sysroot"
}
[source]
git = "https://gitlab.redox-os.org/redox-os/cargo.git"
upstream = "https://github.com/rust-lang/cargo.git"
branch = "redox-2022-03-18"
[build]
template = "custom"
dependencies = [
"libssh2",
"openssl",
"zlib",
]
script = """
export LIBSSH2_SYS_USE_PKG_CONFIG=1
export LIBZ_SYS_STATIC=1
cookbook_cargo
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment