From 0e41fb5d7fa619bbcefc36b2d24b713fa6835400 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 1 May 2025 12:44:27 -0600 Subject: [PATCH] expat: compile dynamically and statically --- recipes/libs/expat/recipe.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/recipes/libs/expat/recipe.toml b/recipes/libs/expat/recipe.toml index f8edd593..c88685e4 100644 --- a/recipes/libs/expat/recipe.toml +++ b/recipes/libs/expat/recipe.toml @@ -1,11 +1,24 @@ [source] tar = "https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.xz" blake3 = "ea89dd9a5a2e48d5e44fed38554b36a8f2e365a5091a99d08e30bfb1c15dda5e" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + [build] template = "custom" script = """ -COOKBOOK_CONFIGURE_FLAGS+=( +DYNAMIC_INIT +COOKBOOK_CONFIGURE_FLAGS=( + --host="${GNU_TARGET}" + --prefix="/usr" + --enable-shared + --enable-static --without-docbook + --without-examples + --without-tests + --without-xmlwf ) cookbook_configure """