Fix autoreconf env not set

This commit is contained in:
Wildan M 2026-02-05 09:34:21 +07:00
parent b204fac65c
commit 5006c90b42
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -1,8 +1,6 @@
pub(crate) static SHARED_PRESCRIPT: &str = r#"
# Build dynamically
function DYNAMIC_INIT {
COOKBOOK_AUTORECONF="autoreconf"
case "${TARGET}" in
"i586-unknown-redox" | "riscv64gc-unknown-redox")
[ -z "${COOKBOOK_VERBOSE}" ] || echo "WARN: ${TARGET} does not support dynamic linking." >&2
@ -39,6 +37,7 @@ function DYNAMIC_INIT {
export COOKBOOK_DYNAMIC=1
}
COOKBOOK_AUTORECONF="autoreconf"
autotools_recursive_regenerate() {
for f in $(find . -name configure.ac -o -name configure.in -type f | sort); do
echo "* autotools regen in '$(dirname $f)'..."