manually config freetype

This commit is contained in:
nulano 2021-01-02 16:34:21 +01:00
parent 283913826a
commit 5fa0403b3b

View File

@ -85,7 +85,15 @@ function pre_build {
build_freetype build_freetype
fi 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 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 # Append licenses
for filename in dependency_licenses/*; do for filename in dependency_licenses/*; do