Skip to content

Commit

Permalink
use local config.guess, config.sub
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Oct 17, 2024
1 parent b5acc42 commit 2116cad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build_linux_zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2116cad

Please sign in to comment.