[CI] Build FreeType for OSX without HarfBuzz dependency

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2022-10-14 12:38:22 +02:00
parent b59e1133e0
commit 436e8d400c
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ export CFLAGS="-isysroot ${SDKPATH} -Werror=unguarded-availability -arch x86_64
export SDKROOT="${SDKPATH}" export SDKROOT="${SDKPATH}"
export MACOSX_DEPLOYMENT_TARGET=10.10 export MACOSX_DEPLOYMENT_TARGET=10.10
./configure --enable-shared=NO --prefix=${lprefix} --enable-freetype-config --without-png --without-brotli --host=x86_64 ./configure --enable-shared=NO --prefix=${lprefix} --enable-freetype-config --without-png --without-brotli --without-harfbuzz --host=x86_64
if [ $? -ne 0 ]; then return 1; fi if [ $? -ne 0 ]; then return 1; fi
if [ "${doclean}" = "yes" ]; then if [ "${doclean}" = "yes" ]; then
@ -193,7 +193,7 @@ if [ $GCC_can_build_arm64 = "yes" ]; then
export SDKROOT="${SDKPATH}" export SDKROOT="${SDKPATH}"
export MACOSX_DEPLOYMENT_TARGET=10.10 export MACOSX_DEPLOYMENT_TARGET=10.10
./configure --enable-shared=NO --prefix=${lprefix} --enable-freetype-config --without-png --without-brotli --host=arm ./configure --enable-shared=NO --prefix=${lprefix} --enable-freetype-config --without-png --without-brotli --without-harfbuzz --host=arm
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo " ******" echo " ******"
echo "Freetype: x86_64 build succeeded but could not build for arm64." echo "Freetype: x86_64 build succeeded but could not build for arm64."