mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
Merge pull request #92 from radarhere/freetype
Simplified custom freetype build
This commit is contained in:
commit
5b306a3741
|
@ -35,11 +35,7 @@ function pre_build {
|
||||||
build_libwebp
|
build_libwebp
|
||||||
if [ -n "$IS_OSX" ]; then
|
if [ -n "$IS_OSX" ]; then
|
||||||
# Custom freetype build
|
# Custom freetype build
|
||||||
local ft_name_ver=freetype-${FREETYPE_VERSION}
|
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz --with-harfbuzz=no
|
||||||
fetch_unpack http://download.savannah.gnu.org/releases/freetype/${ft_name_ver}.tar.gz
|
|
||||||
(cd $ft_name_ver \
|
|
||||||
&& ./configure --prefix=$BUILD_PREFIX "--with-harfbuzz=no" \
|
|
||||||
&& make && make install)
|
|
||||||
else
|
else
|
||||||
build_freetype
|
build_freetype
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user