ext4crypt: fix include location for recovery-twrp in lineage
Change-Id: Iefa73425fc13f41f5a267cce0c5d4047edc25e9e
diff --git a/Android.mk b/Android.mk
index 3d9800d..ab3bcc8 100755
--- a/Android.mk
+++ b/Android.mk
@@ -184,7 +184,7 @@
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -le 28; echo $$?),0)
LOCAL_C_INCLUDES += system/extras/ext4_utils \
system/extras/ext4_utils/include \
- bootable/recovery/crypto/ext4crypt
+ $(commands_TWRP_local_path)/crypto/ext4crypt
LOCAL_SHARED_LIBRARIES += libext4_utils
ifneq ($(wildcard external/lz4/Android.mk),)
#LOCAL_STATIC_LIBRARIES += liblz4
diff --git a/gui/Android.mk b/gui/Android.mk
index 02bd0a1..f08378c 100755
--- a/gui/Android.mk
+++ b/gui/Android.mk
@@ -50,7 +50,7 @@
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -le 28; echo $$?),0)
LOCAL_C_INCLUDES += system/extras/ext4_utils \
system/extras/ext4_utils/include \
- bootable/recovery/crypto/ext4crypt
+ $(LOCAL_PATH)/../crypto/ext4crypt
LOCAL_SHARED_LIBRARIES += libext4_utils
endif
endif