Link against libsparse
libext4_utils requires libsparse, link against it as well.
Change-Id: I4d6aec0e5edcf1ed42118b7b77adcded2858d3dd
diff --git a/updater/Android.mk b/updater/Android.mk
index 2211113..fcaf6d5 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -21,7 +21,7 @@
ifeq ($(TARGET_USERIMAGES_USE_EXT4), true)
LOCAL_CFLAGS += -DUSE_EXT4
LOCAL_C_INCLUDES += system/extras/ext4_utils
-LOCAL_STATIC_LIBRARIES += libext4_utils libz
+LOCAL_STATIC_LIBRARIES += libext4_utils libsparse libz
endif
ifeq ($(HAVE_SELINUX), true)