summaryrefslogtreecommitdiffstats
path: root/libmincrypt/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libmincrypt/Android.mk')
-rw-r--r--libmincrypt/Android.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/libmincrypt/Android.mk b/libmincrypt/Android.mk
index 034b05fd1..fa6bc7884 100644
--- a/libmincrypt/Android.mk
+++ b/libmincrypt/Android.mk
@@ -14,4 +14,11 @@ LOCAL_MODULE := libmincrypttwrp
LOCAL_C_INCLUDES := $(commands_recovery_local_path)/libmincrypt/includes
LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c
LOCAL_CFLAGS := -Wall -Werror
-include $(BUILD_HOST_STATIC_LIBRARY) \ No newline at end of file
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libmincrypttwrp
+LOCAL_C_INCLUDES := $(commands_recovery_local_path)/libmincrypt/includes
+LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c
+LOCAL_CFLAGS := -Wall -Werror
+include $(BUILD_HOST_STATIC_LIBRARY)