diff options
-rw-r--r-- | prebuilt/Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index f03c66744..aff20d555 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -170,7 +170,11 @@ ifeq ($(TW_INCLUDE_CRYPTO), true) RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libhardware.so RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libgpt_twrp.so ifeq ($(TARGET_HW_DISK_ENCRYPTION),true) - RELINK_SOURCE_FILES += $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libcryptfs_hw.so + ifeq ($(TARGET_CRYPTFS_HW_PATH),) + RELINK_SOURCE_FILES += $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libcryptfs_hw.so + else + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfs_hw.so + endif endif # FBE files ifeq ($(TW_INCLUDE_CRYPTO_FBE), true) |