From 231daef285386ae04f9999853edd2cbfcf64e275 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Wed, 11 Nov 2015 23:13:44 -0600 Subject: minzip: Fixup libselinux includes Change-Id: Ic68f307a33e36437b9d21c442265c506b592129c --- minzip/Android.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'minzip') diff --git a/minzip/Android.mk b/minzip/Android.mk index 6cca09239..ad976e796 100644 --- a/minzip/Android.mk +++ b/minzip/Android.mk @@ -12,14 +12,18 @@ LOCAL_C_INCLUDES := \ external/zlib \ external/safe-iop/include -LOCAL_STATIC_LIBRARIES := libselinux +ifeq ($(TWHAVE_SELINUX),true) +LOCAL_C_INCLUDES += external/libselinux/include +LOCAL_SHARED_LIBRARIES += libselinux +LOCAL_CFLAGS += -DHAVE_SELINUX +endif LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) LOCAL_MODULE := libminzip LOCAL_CFLAGS += -Wall -LOCAL_SHARED_LIBRARIES := libz +LOCAL_SHARED_LIBRARIES += libz include $(BUILD_SHARED_LIBRARY) @@ -46,6 +50,6 @@ endif LOCAL_MODULE := libminzip LOCAL_CFLAGS += -Wall -LOCAL_STATIC_LIBRARIES := libz +LOCAL_STATIC_LIBRARIES += libz include $(BUILD_STATIC_LIBRARY) -- cgit v1.2.3