From: Mauro Rossi Date: Sat, 20 May 2017 15:31:36 +0000 (+0200) Subject: android: ac: add missing libdrm_amdgpu shared dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58d337941e9696541a6c5744770b21b0d7a9fb1f;p=mesa.git 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 --- diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk index e3915b45bfe..39d2732fd99 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