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 """