libtar: Use relative path for crypto/ext4crypt include
Don't assume path to be bootable/recovery (i.e., support CM's
RECOVERY_VARIANT).
Change-Id: Ib53cc919c5a9beb3beee71d7227a7c957a24b601
diff --git a/libtar/Android.mk b/libtar/Android.mk
index 14c19f7..ddf8e05 100644
--- a/libtar/Android.mk
+++ b/libtar/Android.mk
@@ -19,7 +19,7 @@
ifeq ($(TW_INCLUDE_CRYPTO_FBE), true)
LOCAL_SHARED_LIBRARIES += libe4crypt
LOCAL_CFLAGS += -DHAVE_EXT4_CRYPT
- LOCAL_C_INCLUDES += bootable/recovery/crypto/ext4crypt
+ LOCAL_C_INCLUDES += $(LOCAL_PATH)/../crypto/ext4crypt
endif
include $(BUILD_SHARED_LIBRARY)
@@ -43,7 +43,7 @@
ifeq ($(TW_INCLUDE_CRYPTO_FBE), true)
LOCAL_SHARED_LIBRARIES += libe4crypt
LOCAL_CFLAGS += -DHAVE_EXT4_CRYPT
- LOCAL_C_INCLUDES += bootable/recovery/crypto/ext4crypt
+ LOCAL_C_INCLUDES += $(LOCAL_PATH)/../crypto/ext4crypt
endif
include $(BUILD_STATIC_LIBRARY)