From 3b36ce19cf41a0d8465a172dc9677bfa3f358155 Mon Sep 17 00:00:00 2001 From: Tran Khanh Duy <40482367+khanhduytran0@users.noreply.github.com> Date: Sun, 1 Nov 2020 04:38:22 +0700 Subject: [PATCH] Update buildlibs.sh --- buildlibs.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/buildlibs.sh b/buildlibs.sh index 9db1b84..92e0171 100755 --- a/buildlibs.sh +++ b/buildlibs.sh @@ -11,7 +11,14 @@ cd freetype-2.6.2 --prefix=`pwd`/build_android-${TARGET_SHORT} \ --without-zlib \ --with-png=no \ - --with-harfbuzz=no + --with-harfbuzz=no || \ +error_code=$? +if [ "$error_code" -ne 0 ]; then + echo "\n\nCONFIGURE ERROR $error_code , config.log:" + cat config.log + exit $error_code +fi + make -j4 | \ sudo apt -y install systemtap-sdt-dev gcc-multilib g++-multilib libxtst-dev libasound2-dev libelf-dev libfontconfig1-dev libx11-dev