summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 0130c585aed..062f8328d87 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -126,4 +126,6 @@ endif
# Quiet down the build system and remove any .h files from the sources
LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
+ifneq ($(LOCAL_IS_HOST_MODULE),true)
LOCAL_SHARED_LIBRARIES += libz
+endif