From 8ec785099a3b74269d23652372da1204daa0bbcb Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 4 Aug 2018 11:18:39 +1000 Subject: [PATCH] Simplified custom freetype build --- config.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config.sh b/config.sh index bfb1e4059..e44c33db5 100644 --- a/config.sh +++ b/config.sh @@ -35,11 +35,7 @@ function pre_build { build_libwebp if [ -n "$IS_OSX" ]; then # Custom freetype build - local ft_name_ver=freetype-${FREETYPE_VERSION} - 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) + build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz --with-harfbuzz=no else build_freetype fi