summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2019-05-05 22:13:08 +0200
committerbigbiff bigbiff <bigbiff@teamw.in>2019-05-05 22:13:08 +0200
commit52f868b5d959e875cda0120f6e22118b7ace0f92 (patch)
treee065e38396259369cebde22cb147fe50cad6e177
parentext4crypt: add missing cflag (diff)
downloadandroid_bootable_recovery-52f868b5d959e875cda0120f6e22118b7ace0f92.tar
android_bootable_recovery-52f868b5d959e875cda0120f6e22118b7ace0f92.tar.gz
android_bootable_recovery-52f868b5d959e875cda0120f6e22118b7ace0f92.tar.bz2
android_bootable_recovery-52f868b5d959e875cda0120f6e22118b7ace0f92.tar.lz
android_bootable_recovery-52f868b5d959e875cda0120f6e22118b7ace0f92.tar.xz
android_bootable_recovery-52f868b5d959e875cda0120f6e22118b7ace0f92.tar.zst
android_bootable_recovery-52f868b5d959e875cda0120f6e22118b7ace0f92.zip
-rw-r--r--prebuilt/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 4d67e5b77..5592a8c07 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -309,7 +309,11 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 22; echo $$?),0)
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fsck.ntfs
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.ntfs
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libntfs-3g.so
- RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libfuse.so
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libfuse-lite.so
+ else
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libfuse.so
+ endif
else
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/ntfs-3g
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/ntfsfix