diff --git a/mac_build/buildfreetype.sh b/mac_build/buildfreetype.sh index 99b90cc7b8..30cba2902c 100644 --- a/mac_build/buildfreetype.sh +++ b/mac_build/buildfreetype.sh @@ -171,7 +171,7 @@ export CFLAGS="-isysroot ${SDKPATH} -Werror=unguarded-availability -arch x86_64 export SDKROOT="${SDKPATH}" 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 [ "${doclean}" = "yes" ]; then @@ -193,7 +193,7 @@ if [ $GCC_can_build_arm64 = "yes" ]; then export SDKROOT="${SDKPATH}" 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 echo " ******" echo "Freetype: x86_64 build succeeded but could not build for arm64."