From 1b9d8d7fdfad64b68bf9828e3be1498fdaee90eb Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Mon, 15 Mar 2021 23:39:26 +0100 Subject: [PATCH] android: util: create some standalone compression helpers Fixes the following building errors: FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.android-x86_intermediates/LINKED/vulkan.radv.so ... ld.lld: error: undefined symbol: util_compress_inflate >>> referenced by disk_cache_os.c:459 (external/mesa/src/util/disk_cache_os.c:459) ... ld.lld: error: undefined symbol: util_compress_max_compressed_len >>> referenced by disk_cache_os.c:614 (external/mesa/src/util/disk_cache_os.c:614) ... ld.lld: error: undefined symbol: util_compress_deflate >>> referenced by disk_cache_os.c:622 (external/mesa/src/util/disk_cache_os.c:622) Fixes: d7ecbd5bf837 ("util: create some standalone compression helpers") Reviewed-By: Mike Blumenkrantz Part-of: --- src/util/Makefile.sources | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/Makefile.sources b/src/util/Makefile.sources index 98cddf8eaa5..3c365d57847 100644 --- a/src/util/Makefile.sources +++ b/src/util/Makefile.sources @@ -11,6 +11,8 @@ MESA_UTIL_FILES := \ build_id.h \ cnd_monotonic.h \ compiler.h \ + compress.c \ + compress.h \ crc32.c \ crc32.h \ dag.c \