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