redox/recipes/libs/mpc/recipe.toml
Anhad Singh 8b663ee368 fix(cookbook): shared dependencies
These shall only be added iff `PREFER_STATIC` is not set.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-23 16:12:12 +11:00

28 lines
444 B
TOML

# C library for the arithmetic of complex numbers with arbitrarily high
# precision and correct rounding of the result.
[source]
tar = "https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz"
script = """
DYNAMIC_INIT
autotools_recursive_regenerate
"""
[build]
template = "custom"
dependencies = [
"libgmp",
"libmpfr",
]
script = """
DYNAMIC_INIT
cookbook_configure
"""
[package]
shared-deps = [
"libgcc",
"libgmp",
"libmpfr",
]