From ab411b6ccb6ae69276470e55772dfe3bd31f2f29 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 1 May 2025 14:10:07 -0600 Subject: [PATCH] pcre: compile dynamically --- recipes/libs/pcre/recipe.toml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/recipes/libs/pcre/recipe.toml b/recipes/libs/pcre/recipe.toml index fc2c92fe7..bf12da075 100644 --- a/recipes/libs/pcre/recipe.toml +++ b/recipes/libs/pcre/recipe.toml @@ -1,9 +1,23 @@ [source] tar = "https://mirrors.gigenet.com/OSDN//sfnet/p/pc/pcre/pcre/8.42/pcre-8.42.tar.gz" blake3 = "12d515ba12a816994def6b1e7196b5783fd2cfe495733a9167fa4d71dbe10248" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" patches = [ "redox.patch" ] [build] -template = "configure" +template = "custom" +script = """ +DYNAMIC_INIT +COOKBOOK_CONFIGURE_FLAGS=( + --host="${GNU_TARGET}" + --prefix="/usr" + --enable-shared + --enable-static +) +cookbook_configure +"""