diff options
-rw-r--r-- | minzip/Android.mk | 10 |
1 files changed, 7 insertions, 3 deletions
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) |