mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-05 02:58:42 +08:00
Adjust extrautils to support static through features
This commit is contained in:
parent
a32eaa6b02
commit
51f30bb8c6
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user