mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-01 17:18:46 +08:00
These shall only be added iff `PREFER_STATIC` is not set. Signed-off-by: Anhad Singh <andypython@protonmail.com>
16 lines
513 B
TOML
16 lines
513 B
TOML
[source]
|
|
tar = "https://www.zlib.net/fossils/zlib-1.3.tar.gz"
|
|
blake3 = "ec1abc6f672a7a6ee6f49ba544cc9529f73121b478310473be44fee22a140ebf"
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
# See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar.
|
|
CHOST="${TARGET}" "${COOKBOOK_CONFIGURE}" --prefix=""
|
|
"${COOKBOOK_MAKE}" -j "$(nproc)"
|
|
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}"
|
|
"""
|
|
|
|
[package]
|
|
shared-deps = ["libgcc"]
|