From 5fa0403b3bb680746a0fe46d32fb52cf6f62c3f9 Mon Sep 17 00:00:00 2001 From: nulano Date: Sat, 2 Jan 2021 16:34:21 +0100 Subject: [PATCH] manually config freetype --- config.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.sh b/config.sh index 2ae0df059..dcd3dfc75 100644 --- a/config.sh +++ b/config.sh @@ -85,7 +85,15 @@ function pre_build { build_freetype fi + if [ -z "$IS_OSX" ]; then + export FREETYPE_LIBS=-lfreetype + export FREETYPE_CFLAGS=-I/usr/local/include/freetype2/ + fi build_simple harfbuzz $HARFBUZZ_VERSION https://github.com/harfbuzz/harfbuzz/releases/download/$HARFBUZZ_VERSION tar.xz --with-freetype=yes --with-glib=no + if [ -z "$IS_OSX" ]; then + export FREETYPE_LIBS='' + export FREETYPE_CFLAGS='' + fi # Append licenses for filename in dependency_licenses/*; do