Module: Mesa
Branch: master
Commit: 58d337941e9696541a6c5744770b21b0d7a9fb1f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=58d337941e9696541a6c5744770b21b0d7a9fb1f

Author: Mauro Rossi <[email protected]>
Date:   Sat May 20 17:31:36 2017 +0200

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 <[email protected]>

---

 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 e3915b45bf..39d2732fd9 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
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to