Skip to content

Commit

Permalink
modify freetype pkgconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Jun 30, 2024
1 parent 8f59d5f commit ea190ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/build_cosmo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ cd freetype*
make -j4
make install
cp objs/.libs/.aarch64/libfreetype.a ${DEPSDIR}/lib/.aarch64
sed -i "s/libbrotlidec/libbrotlidec, libbrotlicommon/g" ${DEPSDIR}/lib/pkgconfig/freetype2.pc
install_license ./docs/FTL.TXT

echo "::endgroup::"
Expand All @@ -318,7 +319,7 @@ cd ${BUILDDIR}

download_verify_extract fontconfig-2.15.0.tar.gz
cd fontconfig*
LDFLAGS="${LDFLAGS} -lxml2 -lbrotlicommon" ./configure --enable-static --disable-shared --enable-libxml2 --disable-cache-build --prefix=${DEPSDIR}
LDFLAGS="${LDFLAGS} -lxml2" ./configure --enable-static --disable-shared --enable-libxml2 --disable-cache-build --prefix=${DEPSDIR}
make -j4
make install
cp .fail_here
Expand Down Expand Up @@ -400,7 +401,7 @@ cd ${BUILDDIR}

download_verify_extract tk8.6.13-src.tar.gz
cd tk*/unix
LDFLAGS="${LDFLAGS} -lxml2" ./configure --disable-shared --disable-cache-build --prefix=${DEPSDIR}
LDFLAGS="${LDFLAGS} -lxml2" ./configure --disable-shared --prefix=${DEPSDIR}
make -j4
make install
cp .aarch64/* ${DEPSDIR}/lib/.aarch64
Expand Down

0 comments on commit ea190ce

Please sign in to comment.