From ce8d8931cecf7f6a7a2241474e10581af2f8483a Mon Sep 17 00:00:00 2001 From: Dees Troy Date: Sun, 3 Nov 2013 02:48:43 +0000 Subject: Fix updater makefiles Change-Id: Ie6262e3e80b1fd37f47b0f4a2ed343bd9f13b128 --- updater/Android.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/updater/Android.mk b/updater/Android.mk index 3b883e4c7..d86fb9e5f 100644 --- a/updater/Android.mk +++ b/updater/Android.mk @@ -30,12 +30,18 @@ LOCAL_STATIC_LIBRARIES = \ libsparse_static \ libz endif +ifneq ($(wildcard system/core/include/mincrypt/sha256.h),) +LOCAL_STATIC_LIBRARIES = \ + libext4_utils_static \ + libsparse_static \ + libz +endif endif LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UPDATER_LIBS) $(TARGET_RECOVERY_UPDATER_EXTRA_LIBS) LOCAL_STATIC_LIBRARIES += libapplypatch libedify libmtdutils libminzip libz LOCAL_STATIC_LIBRARIES += libflashutils libmmcutils libbmlutils -LOCAL_STATIC_LIBRARIES += libmincrypt libbz +LOCAL_STATIC_LIBRARIES += libmincrypttwrp libbz LOCAL_STATIC_LIBRARIES += libminelf LOCAL_STATIC_LIBRARIES += libcutils liblog libstdc++ libc LOCAL_STATIC_LIBRARIES += libselinux -- cgit v1.2.3