From: Tapani Pälli Date: Fri, 6 Sep 2019 05:05:02 +0000 (+0300) Subject: android: fix linking issues with liblog X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f83f9d7daa0995c8f6a15c356ac874acb4432144;p=mesa.git android: fix linking issues with liblog Fixes Android build errors observed in Intel CI. Fixes: f9f7cbc1aa3 "util: android logging support" Signed-off-by: Tapani Pälli Reviewed-by: Rob Clark --- diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index c7d564a237e..3059e839c00 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@ -42,7 +42,8 @@ LOCAL_LDFLAGS := \ LOCAL_SHARED_LIBRARIES := \ libdl \ libglapi \ - libz + libz \ + liblog # If Android version >=8 MESA should static link libexpat else should dynamic link ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 27; echo $$?), 0) diff --git a/src/util/Android.mk b/src/util/Android.mk index 6d770ca9575..13e44f97c2a 100644 --- a/src/util/Android.mk +++ b/src/util/Android.mk @@ -50,6 +50,8 @@ LOCAL_SHARED_LIBRARIES := \ libexpat endif +LOCAL_SHARED_LIBRARIES += liblog + LOCAL_MODULE := libmesa_util # Generated sources