android: fix linking issues with liblog

Fixes Android build errors observed in Intel CI.

Fixes: f9f7cbc1aa "util: android logging support"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Tapani Pälli 2019-09-06 08:05:02 +03:00
parent dfb86405cf
commit f83f9d7daa
2 changed files with 4 additions and 1 deletions

View file

@ -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)

View file

@ -50,6 +50,8 @@ LOCAL_SHARED_LIBRARIES := \
libexpat
endif
LOCAL_SHARED_LIBRARIES += liblog
LOCAL_MODULE := libmesa_util
# Generated sources