Fix libgmp not build shared libs (again)

This commit is contained in:
Wildan M 2026-02-16 16:52:47 +07:00
parent 80e641585c
commit fbe18939bf
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -16,6 +16,9 @@ rsync -a --delete "${COOKBOOK_SOURCE}/" ./
COOKBOOK_SOURCE="${COOKBOOK_BUILD}"
if [ "$TARGET" != "$COOKBOOK_HOST_TARGET" ]; then
autotools_recursive_regenerate
# need to invoke configure in specific way to make shared libs work
./configure --host="${GNU_TARGET}" --prefix="/usr"
COOKBOOK_CONFIGURE=true
fi
DYNAMIC_STATIC_INIT