Remove dependency on liblzma.
libunwind is being deprecated and this dependency is making it difficult
to upgrade liblzma. This is the first step to complete removal.
Bug: 79209464
Test: Compiles.
Change-Id: Iee41810df670e679f19ae241fe4b6634798462a0
diff --git a/Android.bp b/Android.bp
index cb527c5..5f54695 100644
--- a/Android.bp
+++ b/Android.bp
@@ -414,8 +414,6 @@
export_include_dirs: ["include"],
- shared_libs: ["liblzma"],
-
debug: {
//shared_libs: ["liblog"],
},
diff --git a/include/config.h b/include/config.h
index 48549f6..bcef953 100644
--- a/include/config.h
+++ b/include/config.h
@@ -131,7 +131,7 @@
#define HAVE_LINK_H 1
/* Define if you have liblzma */
-#define HAVE_LZMA 1
+/* #undef HAVE_LZMA */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
diff --git a/src/elfxx.c b/src/elfxx.c
index 057a3ba..a050038 100644
--- a/src/elfxx.c
+++ b/src/elfxx.c
@@ -509,7 +509,7 @@
*dst = realloc(*dst, *dst_size);
return true;
#else
- Debug (1, "Decompression failed - compiled without LZMA support.\n",
+ Debug (1, "Decompression failed - compiled without LZMA support.\n");
return false;
#endif // HAVE_LZMA
}