From 5907b330b033d4959573dc390a50c5689bd49cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Sun, 16 Oct 2022 12:17:26 +0200 Subject: [PATCH] [freetype] explicitly disable harfbuzz support We must not pick up a version of harfbuzz installed on the system as this can lead to errors when cross-compiling on macOS for arm64. --- scripts/build-ffmpeg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build-ffmpeg.py b/scripts/build-ffmpeg.py index a483044..e285a73 100644 --- a/scripts/build-ffmpeg.py +++ b/scripts/build-ffmpeg.py @@ -124,6 +124,9 @@ name="freetype", requires=["png"], source_url="https://download.savannah.gnu.org/releases/freetype/freetype-2.10.1.tar.gz", + # At this point we have not built our own harfbuzz and we do NOT want to + # pick up the system's harfbuzz. + build_arguments=["--with-harfbuzz=no"], ), Package( name="fontconfig",