From 23ab32a3ebb5315c0beacc07d65caf7c29ffbd5c Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sun, 14 Apr 2019 20:05:50 +0300 Subject: [PATCH] aapt: fix compilation error after adding own zlib --- packages/aapt/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aapt/build.sh b/packages/aapt/build.sh index 1e5ad6605..03942ca31 100644 --- a/packages/aapt/build.sh +++ b/packages/aapt/build.sh @@ -224,7 +224,7 @@ termux_step_make_install() { zip_archive_stream_entry.cc \ zip_writer.cc" patch -p0 < $TERMUX_PKG_BUILDER_DIR/libziparchive.patch.txt - $CXX $CXXFLAGS $LDFLAGS -std=c++11 \ + $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS -std=c++11 \ -DZLIB_CONST \ -isystem $AOSP_INCLUDE_DIR \ $libziparchive_source_files \