From 58d337941e9696541a6c5744770b21b0d7a9fb1f Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 20 May 2017 17:31:36 +0200 Subject: [PATCH] android: ac: add missing libdrm_amdgpu shared dependency Fixes building errors in amd/common: target C: libmesa_amd_common <= external/mesa/src/amd/common/ac_gpu_info.c ... target C: libmesa_amd_common <= external/mesa/src/amd/common/ac_surface.c ... external/mesa/src/amd/common/ac_gpu_info.h:31:10: fatal error: 'amdgpu.h' file not found ^ 2 errors Fixes: 98a2492 ("ac_surface: use radeon_info from ac_gpu_info") Signed-off-by: Emil Velikov --- src/amd/Android.common.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk index e3915b4..39d2732 100644 --- a/src/amd/Android.common.mk +++ b/src/amd/Android.common.mk @@ -61,6 +61,9 @@ LOCAL_C_INCLUDES := \ LOCAL_EXPORT_C_INCLUDE_DIRS := \ $(LOCAL_PATH)/common +LOCAL_SHARED_LIBRARIES := \ + libdrm_amdgpu + LOCAL_STATIC_LIBRARIES := \ libmesa_nir -- 2.7.4