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

Rob Herring robh at kernel.org
Mon Mar 20 01:33:24 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>
---
 Android.common.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Android.common.mk b/Android.common.mk
index 58bda59962be..89b1061eb100 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -127,4 +127,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