From: Rob Herring Date: Tue, 21 Mar 2017 18:51:18 +0000 (-0500) Subject: Android: fix libz dependency for host targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bfad7c659f94d30d68b14f6181495653124cf29;p=mesa.git 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 Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- 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