From 52f868b5d959e875cda0120f6e22118b7ace0f92 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Sun, 5 May 2019 16:13:08 -0400 Subject: NTFS-3G: use newer libfuse-light in pie. Change-Id: I66dc38a19524f1eaac8cc5afc1110c5d11fc74eb --- prebuilt/Android.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3