Mesa (master): android: radv: add libcutils shared dependency
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Dec 7 23:22:23 UTC 2020
Module: Mesa
Branch: master
Commit: 2b1930a50a0bdf201769c608f3bad71bb3515b6a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b1930a50a0bdf201769c608f3bad71bb3515b6a
Author: Mauro Rossi <issor.oruam at gmail.com>
Date: Sat Dec 5 02:58:32 2020 +0100
android: radv: add libcutils shared dependency
Fixes the following building error:
FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.android-x86_intermediates/LINKED/vulkan.android-x86.so
...
ld.lld: error: undefined symbol: property_get
>>> referenced by os_misc.c:193 (external/mesa/src/util/os_misc.c:193)
>>> os_misc.o:(os_get_option) in archive out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_util_intermediates/libmesa_util.a
Fixes: eeecc21d ("util: Add property_get() fallback for android")
Reviewed-by: Marijn Suijten <marijn.suijten at somainline.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7861>
---
src/amd/vulkan/Android.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/vulkan/Android.mk b/src/amd/vulkan/Android.mk
index d5d6a81f796..c90009e5638 100644
--- a/src/amd/vulkan/Android.mk
+++ b/src/amd/vulkan/Android.mk
@@ -157,7 +157,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
libmesa_vulkan_util \
libmesa_aco
-LOCAL_SHARED_LIBRARIES += $(RADV_SHARED_LIBRARIES) libz libsync liblog
+LOCAL_SHARED_LIBRARIES += $(RADV_SHARED_LIBRARIES) libz libsync liblog libcutils
# If Android version >=8 MESA should static link libexpat else should dynamic link
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 27; echo $$?), 0)
More information about the mesa-commit
mailing list