Merge "Include libpcre if present" into android-5.0
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index e608339..2671e1b 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -154,6 +154,9 @@
 ifneq ($(TW_RECOVERY_ADDITIONAL_RELINK_FILES),)
     RELINK_SOURCE_FILES += $(TW_RECOVERY_ADDITIONAL_RELINK_FILES)
 endif
+ifneq ($(wildcard external/pcre/Android.mk),)
+    RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libpcre.so
+endif
 
 TWRP_AUTOGEN := $(intermediates)/teamwin