From b664f5dd2ebba6c63ed4ecfde552592645997d7c Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 10 Sep 2016 11:01:10 -0400 Subject: [PATCH] aapt: Update to latest 7.0.0 tag revision Also link against liblog when needed. Fixes #444. --- packages/aapt/build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/aapt/build.sh b/packages/aapt/build.sh index 707ca0116..066b09cd5 100644 --- a/packages/aapt/build.sh +++ b/packages/aapt/build.sh @@ -1,12 +1,14 @@ TERMUX_PKG_HOMEPAGE=http://elinux.org/Android_aapt TERMUX_PKG_DESCRIPTION="Android Asset Packaging Tool" -TERMUX_PKG_VERSION=7.0.0 +_TAG_VERSION=7.0.0 +_TAG_REVISION=6 +TERMUX_PKG_VERSION=${_TAG_VERSION}.${_TAG_REVISION} TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_DEPENDS="libexpat, libpng, libzopfli" TERMUX_PKG_CLANG=yes termux_step_make_install () { - local _TAGNAME=${TERMUX_PKG_VERSION}_r1 + local _TAGNAME=${_TAG_VERSION}_r${_TAG_REVISION} SYSTEM_CORE_INCLUDE_TARFILE=$TERMUX_PKG_CACHEDIR/system_core_include_${_TAGNAME}.tar.gz test ! -f $SYSTEM_CORE_INCLUDE_TARFILE && termux_download \ @@ -86,6 +88,7 @@ termux_step_make_install () { $libcutils_nonwindows_sources \ trace-host.c \ properties.c \ + -llog \ -shared \ -o $TERMUX_PREFIX/lib/libandroid-cutils.so @@ -141,6 +144,7 @@ termux_step_make_install () { $SAFE_IOP_DIR/src/safe_iop.cpp \ $commonSources \ -landroid-cutils \ + -llog \ -shared \ -o $TERMUX_PREFIX/lib/libandroid-utils.so @@ -171,6 +175,7 @@ termux_step_make_install () { -D__USE_BSD \ -isystem $AOSP_INCLUDE_DIR \ $libbase_src_files $libbase_linux_src_files \ + -llog \ -shared \ -o $TERMUX_PREFIX/lib/libandroid-base.so @@ -193,6 +198,7 @@ termux_step_make_install () { -isystem $AOSP_INCLUDE_DIR \ $libziparchive_source_files \ -landroid-base \ + -llog \ -shared \ -o $TERMUX_PREFIX/lib/libandroid-ziparchive.so