Adjust extrautils to support static through features

This commit is contained in:
Wildan M 2025-11-18 14:41:37 +07:00
parent a32eaa6b02
commit 51f30bb8c6

View File

@ -2,7 +2,16 @@
git = "https://gitlab.redox-os.org/redox-os/extrautils.git"
[build]
template = "cargo"
template = "custom"
dependencies = [
"xz"
]
script = """
DYNAMIC_INIT
if [ "${COOKBOOK_DYNAMIC}" != "1" ]; then
install_flags+=" --features=static"
fi
cookbook_cargo
"""