summaryrefslogtreecommitdiffstats
path: root/libtar
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libtar/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtar/Android.mk b/libtar/Android.mk
index 7e0fafb51..9070f7033 100644
--- a/libtar/Android.mk
+++ b/libtar/Android.mk
@@ -11,7 +11,7 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) \
external/zlib
LOCAL_SHARED_LIBRARIES += libz libc
-ifneq ($(wildcard external/libselinux/Android.mk),)
+ifeq ($(HAVE_SELINUX), true)
LOCAL_C_INCLUDES += external/libselinux/include
LOCAL_SHARED_LIBRARIES += libselinux
LOCAL_CFLAGS += -DHAVE_SELINUX