diff options
author | Rob Herring <robh@kernel.org> | 2017-03-21 13:51:18 -0500 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2017-03-22 17:52:35 +0000 |
commit | 6bfad7c659f94d30d68b14f6181495653124cf29 (patch) | |
tree | 139b8d3d3fad32b9b5ba0ae27d12fa89e7635ca1 /Android.common.mk | |
parent | 6f8f97a9b24f4ff33d7e181a695f6a0e4954db6d (diff) |
Android: fix libz dependency for host targets
Commit 6facb0c08fa1 ("android: fix libz dynamic library dependencies")
added libz as a dependency, but this breaks host targets as the host
dependency is libz-host. As no host lib needs libz, just remove the
dependency for them.
Fixes: 6facb0c08fa1 "android: fix libz dynamic library dependencies"
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'Android.common.mk')
-rw-r--r-- | Android.common.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk index 0130c585ae..062f8328d8 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 |