Fix libonig for static build

This commit is contained in:
Wildan M 2026-09-21 02:33:03 +07:00
parent cb6efb2a7c
commit e7ae26f294
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -10,6 +10,8 @@ template = "custom"
script = """
DYNAMIC_INIT
cookbook_configure
if [ "${COOKBOOK_DYNAMIC}" = "1" ]; then
# TODO: fini arrays causes hang in uutils
${OBJCOPY} --remove-section=.fini_array --remove-section=.fini ${COOKBOOK_STAGE}/usr/lib/libonig.so.5
fi
"""