mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
manually config freetype
This commit is contained in:
parent
283913826a
commit
5fa0403b3b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user