[Mesa-dev] [PATCH v2 3/5] Android: fix libz dependency for host targets

Rob Herring robh at kernel.org
Tue Mar 21 18:51:18 UTC 2017


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 at kernel.org>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
---
v2:
- no change

 Android.common.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Android.common.mk b/Android.common.mk
index 0130c585aed1..062f8328d87d 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
--
2.10.1



More information about the mesa-dev mailing list