summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-11-09 18:56:17 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-11-09 18:56:17 +0100
commit5046857ceb84426752d1d0b3b12336884df7a6ee (patch)
tree255a49e9a1efde0135d4a76456cb5badad91d48e
parentUpdate rules for libpixelfinger_twrp (diff)
downloadandroid_bootable_recovery-5046857ceb84426752d1d0b3b12336884df7a6ee.tar
android_bootable_recovery-5046857ceb84426752d1d0b3b12336884df7a6ee.tar.gz
android_bootable_recovery-5046857ceb84426752d1d0b3b12336884df7a6ee.tar.bz2
android_bootable_recovery-5046857ceb84426752d1d0b3b12336884df7a6ee.tar.lz
android_bootable_recovery-5046857ceb84426752d1d0b3b12336884df7a6ee.tar.xz
android_bootable_recovery-5046857ceb84426752d1d0b3b12336884df7a6ee.tar.zst
android_bootable_recovery-5046857ceb84426752d1d0b3b12336884df7a6ee.zip
-rw-r--r--Android.mk2
-rwxr-xr-xmtp/Android.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 47c4aa1d0..5ee7bf966 100644
--- a/Android.mk
+++ b/Android.mk
@@ -109,7 +109,7 @@ LOCAL_STATIC_LIBRARIES += libguitwrp
LOCAL_SHARED_LIBRARIES += libz libc libcutils libstdc++ libtar libblkid libminuitwrp libminadbd libmtdutils libminzip libaosprecovery
LOCAL_SHARED_LIBRARIES += libcrecovery
-ifneq ($(wildcard external/stlport/Android.mk),)
+ifeq (,$(filter $(PLATFORM_SDK_VERSION), 23))
LOCAL_SHARED_LIBRARIES += libstlport
else
LOCAL_SHARED_LIBRARIES += libc++
diff --git a/mtp/Android.mk b/mtp/Android.mk
index 204042557..38d31aea4 100755
--- a/mtp/Android.mk
+++ b/mtp/Android.mk
@@ -31,7 +31,7 @@ LOCAL_SRC_FILES = \
node.cpp
LOCAL_SHARED_LIBRARIES += libz libc libusbhost libstdc++ libdl libcutils libutils libaosprecovery
-ifneq ($(wildcard external/stlport/Android.mk),)
+ifeq (,$(filter $(PLATFORM_SDK_VERSION), 23))
LOCAL_SHARED_LIBRARIES += libstlport
else
LOCAL_SHARED_LIBRARIES += libc++