summaryrefslogtreecommitdiffstats
path: root/libtar/Android.mk
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2013-08-27 03:10:10 +0200
committerVojtech Bocek <vbocek@gmail.com>2013-09-05 21:43:52 +0200
commit25fd68d0989254bdf921bcd118c4bae4d8afc419 (patch)
treeeb09b5a22aa0a5a2ff881547d769f042a74eebb0 /libtar/Android.mk
parentUpdate to latest AOSP master (diff)
downloadandroid_bootable_recovery-25fd68d0989254bdf921bcd118c4bae4d8afc419.tar
android_bootable_recovery-25fd68d0989254bdf921bcd118c4bae4d8afc419.tar.gz
android_bootable_recovery-25fd68d0989254bdf921bcd118c4bae4d8afc419.tar.bz2
android_bootable_recovery-25fd68d0989254bdf921bcd118c4bae4d8afc419.tar.lz
android_bootable_recovery-25fd68d0989254bdf921bcd118c4bae4d8afc419.tar.xz
android_bootable_recovery-25fd68d0989254bdf921bcd118c4bae4d8afc419.tar.zst
android_bootable_recovery-25fd68d0989254bdf921bcd118c4bae4d8afc419.zip
Diffstat (limited to 'libtar/Android.mk')
-rw-r--r--libtar/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/libtar/Android.mk b/libtar/Android.mk
index b73a41f3f..7e0fafb51 100644
--- a/libtar/Android.mk
+++ b/libtar/Android.mk
@@ -11,5 +11,11 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) \
external/zlib
LOCAL_SHARED_LIBRARIES += libz libc
+ifneq ($(wildcard external/libselinux/Android.mk),)
+ LOCAL_C_INCLUDES += external/libselinux/include
+ LOCAL_SHARED_LIBRARIES += libselinux
+ LOCAL_CFLAGS += -DHAVE_SELINUX
+endif
+
include $(BUILD_SHARED_LIBRARY)