Update before-install.sh

This commit is contained in:
halx99 2021-09-20 16:47:44 +08:00 committed by GitHub
parent dad1d4b4d1
commit 6181d09298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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()