diff options
author | Dees Troy <dees_troy@teamw.in> | 2013-09-05 21:53:36 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@198.50.184.117> | 2013-09-05 21:53:36 +0200 |
commit | 8807a1ead605b54d86ba96466aee648fcd189ab4 (patch) | |
tree | 6b7cde9b953529948a725a606078818731db69fc /libtar/Android.mk | |
parent | Extract file_contexts from zips if it exists (diff) | |
parent | libtar: store SELinux file context in tar archives (diff) | |
download | android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.gz android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.bz2 android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.lz android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.xz android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.zst android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.zip |
Diffstat (limited to 'libtar/Android.mk')
-rw-r--r-- | libtar/Android.mk | 6 |
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) |