From 9c3e6f861310988ac1e6a549db2550688480dddb Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 11 Sep 2026 01:27:50 +0200 Subject: [PATCH] Promote libonig, make uutils depends on it --- recipes/core/uutils/recipe.toml | 4 ++++ recipes/{wip/libs/other => libs}/libonig/recipe.toml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) rename recipes/{wip/libs/other => libs}/libonig/recipe.toml (93%) diff --git a/recipes/core/uutils/recipe.toml b/recipes/core/uutils/recipe.toml index 929628813..15ce2635c 100644 --- a/recipes/core/uutils/recipe.toml +++ b/recipes/core/uutils/recipe.toml @@ -10,8 +10,12 @@ patches = [ [build] template = "custom" +dependencies = [ + "libonig" +] script = """ DYNAMIC_INIT +export RUSTONIG_DYNAMIC_LIBONIG=1 # TODO: upstream changes, consider using feat_require_unix_core if relibc is ready? CARGO_PROFILE_RELEASE_LTO=thin cookbook_cargo --no-default-features --features feat_os_unix_redox,kill,nice --bin coreutils diff --git a/recipes/wip/libs/other/libonig/recipe.toml b/recipes/libs/libonig/recipe.toml similarity index 93% rename from recipes/wip/libs/other/libonig/recipe.toml rename to recipes/libs/libonig/recipe.toml index f8e7c238f..f9ec29a16 100644 --- a/recipes/wip/libs/other/libonig/recipe.toml +++ b/recipes/libs/libonig/recipe.toml @@ -1,4 +1,3 @@ -#TODO: promote [source] git = "https://github.com/kkos/oniguruma" rev = "f95747b462de672b6f8dbdeb478245ddf061ca53"