[DEV] remove dependency of the LibZip when not needed

This commit is contained in:
Edouard DUPIN 2013-03-11 21:08:18 +01:00
parent d51539f32a
commit f5f7c72ad6

View File

@ -3,7 +3,17 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := etk LOCAL_MODULE := etk
LOCAL_LIBRARIES := libzip linearmath LOCAL_LIBRARIES := linearmath
# with android we have no real choice ...
ifeq ("$(PLATFORM)","Android")
LOCAL_LIBRARIES += libzip
else
ifeq ("$(CONFIG_BUILD_LIBZIP)","y")
LOCAL_LIBRARIES += libzip
endif
endif
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)