Not print freetype build log on success

This commit is contained in:
Tran Khanh Duy 2020-09-13 16:45:36 +07:00 committed by GitHub
parent e9cf42e7dc
commit ca01a0fbe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,12 +6,19 @@ export PATH=$ANDROID_DEVKIT/bin:$PATH
echo "Building Freetype" echo "Building Freetype"
cd freetype-2.6.2 cd freetype-2.6.2
./configure \ freetype_build_out=`./configure \
--host=aarch64-linux-android \ --host=aarch64-linux-android \
--prefix=`pwd`/build_android-aarch64 \ --prefix=`pwd`/build_android-aarch64 \
--without-zlib \ --without-zlib \
--with-png=no \ --with-png=no \
--with-harfbuzz=no --with-harfbuzz=no \
&& \
make -j4 && \
make install` || error_code=$?
make -j4 if [ "${error_code}" -ne 0 ]; then
make install echo $freetype_build_out
exit $error_code
else
echo "Done build freetype"
fi