From 1c28904749f5d0ae58b113b5b59901f7fc3731f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Andrei=20M=C4=83ce=C8=99?= Date: Fri, 16 Dec 2016 16:01:56 -0500 Subject: 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 --- libtar/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libtar') diff --git a/libtar/Android.mk b/libtar/Android.mk index 14c19f73f..ddf8e058f 100644 --- a/libtar/Android.mk +++ b/libtar/Android.mk @@ -19,7 +19,7 @@ endif 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 @@ endif 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) -- cgit v1.2.3