[PATCH] android: libdrm_platform: add liblog shared dependency
Tapani Pälli
tapani.palli at intel.com
Mon Mar 18 11:40:50 UTC 2019
It seems like there is no usage of __android_log_vprint in upstream
libdrm. Perhaps this was against libdrm with some android specific
changes on top?
On 3/17/19 10:50 PM, Mauro Rossi wrote:
> Fixes the following building error:
>
> FAILED: $(OUT)/obj/SHARED_LIBRARIES/libdrm_platform_intermediates/LINKED/libdrm_platform.so
> ...
> external/libdrm/xf86drm.c:146: error: undefined reference to '__android_log_vprint'
> clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
>
> Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
> ---
> Android.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Android.mk b/Android.mk
> index f2c78bc1..f832b24e 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -61,6 +61,9 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \
> $(LOCAL_PATH) \
> $(LOCAL_PATH)/include/drm
>
> +LOCAL_SHARED_LIBRARIES := \
> + liblog
> +
> LOCAL_C_INCLUDES := \
> $(LOCAL_PATH)/include/drm
>
>
More information about the dri-devel
mailing list