summaryrefslogtreecommitdiffstats
path: root/prebuilt/Android.mk
diff options
context:
space:
mode:
authorbig biff <bigbiff@teamw.in>2019-05-09 01:48:45 +0200
committerGerrit Code Review <gerrit2@gerrit.omnirom.org>2019-05-09 01:48:45 +0200
commit117c64785b1d7fc5e0d88e2650a9bad83ea5e68d (patch)
treef3e4af04893562c4ce2160d73fcc98f6952b5b95 /prebuilt/Android.mk
parentEnglish language: Remove duplicate value. (diff)
parentNTFS-3G: use newer libfuse-light in pie. (diff)
downloadandroid_bootable_recovery-117c64785b1d7fc5e0d88e2650a9bad83ea5e68d.tar
android_bootable_recovery-117c64785b1d7fc5e0d88e2650a9bad83ea5e68d.tar.gz
android_bootable_recovery-117c64785b1d7fc5e0d88e2650a9bad83ea5e68d.tar.bz2
android_bootable_recovery-117c64785b1d7fc5e0d88e2650a9bad83ea5e68d.tar.lz
android_bootable_recovery-117c64785b1d7fc5e0d88e2650a9bad83ea5e68d.tar.xz
android_bootable_recovery-117c64785b1d7fc5e0d88e2650a9bad83ea5e68d.tar.zst
android_bootable_recovery-117c64785b1d7fc5e0d88e2650a9bad83ea5e68d.zip
Diffstat (limited to 'prebuilt/Android.mk')
-rw-r--r--prebuilt/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 05e750a53..5c0b44196 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -320,7 +320,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