From 6181d09298f521f764d0b0386a6073c6dd23dbf6 Mon Sep 17 00:00:00 2001 From: halx99 Date: Mon, 20 Sep 2021 16:47:44 +0800 Subject: [PATCH] Update before-install.sh --- tools/travis-scripts/before-install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/travis-scripts/before-install.sh b/tools/travis-scripts/before-install.sh index 7fcf3d95ae..85aad996d6 100755 --- a/tools/travis-scripts/before-install.sh +++ b/tools/travis-scripts/before-install.sh @@ -37,6 +37,17 @@ function install_linux_environment() echo "Installing linux dependence packages ..." echo -e "y" | bash $ADXE_ROOT/install-deps-linux.sh echo "Installing linux dependence packages finished!" + + echo "Installing latest freetype for linux ..." + mkdir buildsrc + cd buildsrc + git clone https://gitlab.freedesktop.org/freetype/freetype.git + cd freetype + ./configure --prefix=/usr --enable-freetype-config --disable-static + make + make install + cd .. + cd .. } function install_python_module_for_osx()