Merge "Revert "Only format /data in recovery if user specified a new fstype"" into main
diff --git a/updater/Android.bp b/updater/Android.bp
index 35debaa..4fc3c49 100644
--- a/updater/Android.bp
+++ b/updater/Android.bp
@@ -44,7 +44,7 @@
         "libbrotli",
         "libbz",
         "libziparchive",
-        "libz",
+        "libz_stable",
         "libbase",
         "libcrypto_utils",
         "libcutils",
diff --git a/updater/Android.mk b/updater/Android.mk
index bb1c07d..2fd5639 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -42,7 +42,7 @@
     libbrotli \
     libbz \
     libziparchive \
-    libz \
+    libz_stable \
     libbase \
     libcrypto_static \
     libcrypto_utils \