From 989e26a7db490e3e2a3cbcc04b4a9d8dc0fe889e Mon Sep 17 00:00:00 2001 From: Tran Khanh Duy <40482367+khanhduytran0@users.noreply.github.com> Date: Sun, 13 Sep 2020 17:14:25 +0700 Subject: [PATCH] Restore --- buildlibs.sh | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/buildlibs.sh b/buildlibs.sh index 0dd706d..e426276 100755 --- a/buildlibs.sh +++ b/buildlibs.sh @@ -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