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

Add zlib recipe.toml

parent 204e9680
No related branches found
No related tags found
1 merge request!237WIP: Rust cookbook
[source]
tar = "http://zlib.net/zlib-1.2.11.tar.gz"
[build]
template = "custom"
script = """
export LDFLAGS="--static"
# See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar.
CHOST="${TARGET}" "${COOKBOOK_SOURCE}/configure" \
--prefix="" \
--static
make -j "$(nproc)"
make install DESTDIR="${COOKBOOK_STAGE}"
"""
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