diff --git a/updater/Android.mk b/updater/Android.mk index 8f20b33..89f4b99 100644 --- a/updater/Android.mk +++ b/updater/Android.mk @@ -24,6 +24,12 @@ LOCAL_C_INCLUDES += system/extras/ext4_utils LOCAL_STATIC_LIBRARIES += \ libext4_utils \ libz +ifneq ($(wildcard system/core/libmincrypt/rsa_e_3.c),) +LOCAL_STATIC_LIBRARIES = \ + libext4_utils_static \ + libsparse_static \ + libz +endif endif ifeq ($(HAVE_SELINUX), true)