redox/recipes/dev/libtool/recipe.toml
2025-12-30 11:03:36 +07:00

23 lines
430 B
TOML

#TODO can build, not tested
[source]
git = "https://gitlab.redox-os.org/redox-os/libtool"
branch = "v2.5.4-redox"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
# libtool saves absolute path to sysroot which contains nothing
unset CFLAGS
cp -r "${COOKBOOK_SOURCE}"/. ./
./bootstrap \
--skip-po \
--force \
--gnulib-srcdir=./gnulib
COOKBOOK_CONFIGURE="./configure"
cookbook_configure
"""