From 2116cad8a469af3122066e6b2fe49fb48bd6875c Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Thu, 17 Oct 2024 14:54:46 -0400 Subject: [PATCH] use local config.guess, config.sub --- scripts/build_linux_zig.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build_linux_zig.sh b/scripts/build_linux_zig.sh index dc9a6b72..0faa2399 100755 --- a/scripts/build_linux_zig.sh +++ b/scripts/build_linux_zig.sh @@ -386,6 +386,10 @@ cd ${BUILDDIR} download_verify_extract fontconfig-2.15.0.tar.gz cd fontconfig* +if [[ "${ARCH}" == "loongarch64" ]]; then + # remove this once upstream fontconfig updates config.* + cp /usr/share/misc/config.* . +fi LDFLAGS="${LDFLAGS} -lxml2" ./configure --host=${CHOST} --enable-static --disable-shared --enable-libxml2 --disable-cache-build --prefix=${DEPSDIR} make -j4 make install