diff --git a/packages/aapt/build.sh b/packages/aapt/build.sh index 351a246f9..58e7e566a 100644 --- a/packages/aapt/build.sh +++ b/packages/aapt/build.sh @@ -102,7 +102,7 @@ termux_step_make_install() { socket_network_client_unix.c \ sockets_unix.o \ str_parms.c" - $CC $LDFLAGS \ + $CC $CPPFLAGS $LDFLAGS \ -Dchar16_t=uint16_t \ -std=c11 \ -isystem $AOSP_INCLUDE_DIR \ @@ -114,8 +114,6 @@ termux_step_make_install() { -shared \ -o $TERMUX_PREFIX/lib/libandroid-cutils.so - - # Build libutil: local LIBUTILS_TARFILE=$TERMUX_PKG_CACHEDIR/libutils_${_TAGNAME}.tar.gz test ! -f $LIBUTILS_TARFILE && termux_download \