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

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

Reply via email to