From 099938d0f81bfe74ea036941bf84e5088de7a3a0 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sun, 21 Feb 2021 22:16:13 +0100 Subject: [PATCH] android: util/fossilize_db: add missing sources to Makefile.sources Fixes the following building errors: FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/i915_dri_intermediates/LINKED/i915_dri.so ld.lld: error: undefined symbol: foz_read_entry >>> referenced by disk_cache_os.c:945 (external/mesa/src/util/disk_cache_os.c:945) ld.lld: error: undefined symbol: foz_write_entry >>> referenced by disk_cache_os.c:951 (external/mesa/src/util/disk_cache_os.c:951) FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.anv_intermediates/LINKED/vulkan.anv.so FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.radv_intermediates/LINKED/vulkan.radv.so ld.lld: error: undefined symbol: foz_destroy >>> referenced by disk_cache.c:237 (external/mesa/src/util/disk_cache.c:237) ld.lld: error: undefined symbol: foz_read_entry >>> referenced by disk_cache_os.c:945 (external/mesa/src/util/disk_cache_os.c:945) ld.lld: error: undefined symbol: foz_write_entry >>> referenced by disk_cache_os.c:951 (external/mesa/src/util/disk_cache_os.c:951) Fixes: eca6bb9540d8 ("util/fossilize_db: add basic fossilize db util to read/write shader caches") Acked-by: Timothy Arceri Tested-by: Marijn Suijten 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 46d7dd2e3d7..a2b2b832e1c 100644 --- a/src/util/Makefile.sources +++ b/src/util/Makefile.sources @@ -49,6 +49,8 @@ MESA_UTIL_FILES := \ format_r11g11b10f.h \ format_rgb9e5.h \ format_srgb.h \ + fossilize_db.c \ + fossilize_db.h \ futex.h \ half_float.c \ half_float.h \