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