diff --git a/recipes/libs/libxml2/recipe.toml b/recipes/libs/libxml2/recipe.toml index 465d85a89..4e4b936da 100644 --- a/recipes/libs/libxml2/recipe.toml +++ b/recipes/libs/libxml2/recipe.toml @@ -1,6 +1,11 @@ [source] tar = "https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.3.tar.xz" blake3 = "0653d3750576299c4cb88740942165671b576ff93019f3d669b3f37136225ab7" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + [build] template = "custom" dependencies = [ @@ -8,7 +13,12 @@ dependencies = [ "zlib" ] script = """ -COOKBOOK_CONFIGURE_FLAGS+=( +DYNAMIC_INIT +COOKBOOK_CONFIGURE_FLAGS=( + --host="${GNU_TARGET}" + --prefix="/usr" + --enable-shared + --enable-static --without-python ) cookbook_configure diff --git a/recipes/tools/xz/recipe.toml b/recipes/tools/xz/recipe.toml index 8fe1637bb..339b5102a 100644 --- a/recipes/tools/xz/recipe.toml +++ b/recipes/tools/xz/recipe.toml @@ -1,22 +1,25 @@ [source] tar = "https://github.com/tukaani-project/xz/releases/download/v5.2.13/xz-5.2.13.tar.gz" blake3 = "edc6350542e8cb7188a878135e5b9bd592d687e5b47451ca1c89d51cc4bc6b53" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" [build] template = "custom" script = """ -export CFLAGS="-static" +DYNAMIC_INIT COOKBOOK_CONFIGURE_FLAGS=( --host="${GNU_TARGET}" - --prefix="" + --prefix="/usr" --disable-lzmadec --disable-lzmainfo --disable-xz --disable-xzdec - --enable-shared=no + --enable-shared=yes --enable-static=yes --enable-threads=no - --with-pic=no ) cookbook_configure """