Removed customisation of bzip2 build (#139)

Removed customisation of bzip2 build
This commit is contained in:
Hugo van Kemenade 2020-01-25 17:59:07 +02:00 committed by GitHub
commit 1a08f4f083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,18 +51,12 @@ function pre_build {
CPPFLAGS=$ORIGINAL_CPPFLAGS
fi
# freetype
freetype_args=""
if [ -n "$IS_OSX" ]; then
freetype_args="--with-harfbuzz=no"
# Custom freetype build
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz --with-harfbuzz=no
else
# bzip2
fetch_unpack https://sourceware.org/pub/bzip2/bzip2-${BZIP2_VERSION}.tar.gz
(cd bzip2-${BZIP2_VERSION} \
&& make -f Makefile-libbz2_so \
&& make install PREFIX=$BUILD_PREFIX)
build_freetype
fi
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz $freetype_args
}
function run_tests_in_repo {