This commit is contained in:
Tran Khanh Duy 2020-09-13 17:14:25 +07:00 committed by GitHub
parent ca01a0fbe6
commit 989e26a7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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