mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
expat: compile dynamically and statically
This commit is contained in:
parent
2b12ab1fe5
commit
0e41fb5d7f
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user