mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-02 09:38:42 +08:00
libxml2, xz: compile dynamically
This commit is contained in:
parent
631758cabb
commit
9e8c2f6124
@ -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
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user