From e7ae26f29447edb11792b7fd65cd01684656f374 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Mon, 21 Sep 2026 02:33:03 +0700 Subject: [PATCH] Fix libonig for static build --- recipes/libs/libonig/recipe.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/libs/libonig/recipe.toml b/recipes/libs/libonig/recipe.toml index e1c4f4990..43a47eca2 100644 --- a/recipes/libs/libonig/recipe.toml +++ b/recipes/libs/libonig/recipe.toml @@ -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 """