diff options
author | Chih-Wei Huang <[email protected]> | 2017-05-17 13:10:02 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-18 18:01:44 +0100 |
commit | 5cace16ac6f40bd6f6a685348d668f39c47755bc (patch) | |
tree | b5656393dbd5ab0761699ca416fe36b1629a4a30 /src/gallium | |
parent | d6439cb2975aebd2be03e032fbeea86328159074 (diff) |
Android: correct libz dependency
Commit 6facb0c0 ("android: fix libz dynamic library dependencies")
unconditionally adds libz as a dependency to all shared libraries.
That is unnecessary.
Commit 85a9b1b5 introduced libz as a dependency to libmesa_util.
So only the shared libraries that use libmesa_util need libz.
Fix Android Lollipop build by adding the include path of zlib to
libmesa_util explicitly instead of getting the path implicitly
from zlib since it doesn't export the include path in Lollipop.
Fixes: 6facb0c0 "android: fix libz dynamic library dependencies"
Signed-off-by: Chih-Wei Huang <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
(cherry picked from commit bfc0c23843008fd510afa263ebe371bef3346445)
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/targets/dri/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index 2385e8bf4f9..0a137a5246d 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@ -35,7 +35,8 @@ LOCAL_CFLAGS := LOCAL_SHARED_LIBRARIES := \ libdl \ libglapi \ - libexpat + libexpat \ + libz ifneq ($(filter freedreno,$(MESA_GPU_DRIVERS)),) LOCAL_CFLAGS += -DGALLIUM_FREEDRENO |