diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2016-08-26 17:05:03 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2016-08-26 17:05:03 +0200 |
commit | 534d4e0612d96210fe76c03c8c0a0355e0f20453 (patch) | |
tree | 05324fc8c6c0d97d76fbc607d72ced81f5a0bb9d /adbbu | |
parent | Fix compatibility with 5.1 (diff) | |
download | android_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 'adbbu')
-rw-r--r-- | adbbu/Android.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/adbbu/Android.mk b/adbbu/Android.mk index 2c2d50a7b..10faf6f65 100644 --- a/adbbu/Android.mk +++ b/adbbu/Android.mk @@ -29,6 +29,9 @@ LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing LOCAL_C_INCLUDES += bionic external/zlib ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) LOCAL_C_INCLUDES += external/stlport/stlport + LOCAL_SHARED_LIBRARIES += libstlport +else + LOCAL_SHARED_LIBRARIES += libc++ endif LOCAL_SRC_FILES = \ @@ -36,10 +39,4 @@ LOCAL_SRC_FILES = \ LOCAL_SHARED_LIBRARIES += libz libc libstdc++ -ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) - LOCAL_SHARED_LIBRARIES += libstlport -else - LOCAL_SHARED_LIBRARIES += libc++ -endif - include $(BUILD_SHARED_LIBRARY) |