termux-packages/packages/aapt/aapt-Main.cpp.patch.txt

14 lines
488 B
Plaintext
Raw Normal View History

diff -u -r ../../src-pristine/aapt/Main.cpp ./Main.cpp
--- ../../src-pristine/aapt/Main.cpp 2016-10-07 15:12:44.322248606 -0400
+++ ./Main.cpp 2016-10-07 15:18:50.708065085 -0400
@@ -268,6 +268,9 @@
/* default to compression */
bundle.setCompressionMethod(ZipEntry::kCompressDeflated);
+ // Convenience when using aapt in termux.
+ bundle.addPackageInclude("@TERMUX_PREFIX@/share/aapt/android.jar");
+
if (argc < 2) {
wantUsage = true;
goto bail;