expat: compile dynamically and statically

This commit is contained in:
Jeremy Soller 2025-05-01 12:44:27 -06:00
parent 2b12ab1fe5
commit 0e41fb5d7f
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

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