summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-08-26 17:05:03 +0200
committerEthan Yonker <dees_troy@teamw.in>2016-08-26 17:05:03 +0200
commit534d4e0612d96210fe76c03c8c0a0355e0f20453 (patch)
tree05324fc8c6c0d97d76fbc607d72ced81f5a0bb9d /prebuilt
parentFix compatibility with 5.1 (diff)
downloadandroid_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.gz
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.bz2
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.lz
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.xz
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.tar.zst
android_bootable_recovery-534d4e0612d96210fe76c03c8c0a0355e0f20453.zip
Diffstat (limited to '')
-rw-r--r--prebuilt/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 538be7177..f7f8c917d 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -91,7 +91,7 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0)
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libstlport.so
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libgccdemangle.so
endif
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 23; echo $$?),0)
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 23; echo $$?),0)
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libpackagelistparser.so
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/liblzma.so
@@ -233,6 +233,9 @@ ifeq ($(TWRP_INCLUDE_LOGCAT), true)
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsysutils.so
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libnl.so
endif
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 24; echo $$?),0)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libpcrecpp.so
+ endif
endif
TWRP_AUTOGEN := $(intermediates)/teamwin
GEN := $(intermediates)/teamwin