From 65431f093eb764a257e24d7d5fcc6a7471c7d643 Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Tue, 30 Jan 2024 17:01:40 -0500 Subject: [PATCH] link static libxml --- scripts/build_linux_zig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_linux_zig.sh b/scripts/build_linux_zig.sh index 8ba86f33..ef9b026f 100755 --- a/scripts/build_linux_zig.sh +++ b/scripts/build_linux_zig.sh @@ -304,7 +304,7 @@ cd ${BUILDDIR} download_verify_extract fontconfig-2.15.0.tar.gz cd fontconfig* -./configure --host=${ARCH}-linux --enable-static --disable-shared --enable-libxml2 --disable-cache-build --prefix=${DEPSDIR} +LDFLAGS="${LDFLAGS} -l:libxml2.a" ./configure --host=${ARCH}-linux --enable-static --disable-shared --enable-libxml2 --disable-cache-build --prefix=${DEPSDIR} make -j4 make install