[PATCH] android: libdrm_platform: add liblog shared dependency
Mauro Rossi
issor.oruam at gmail.com
Sun Mar 17 20:50:12 UTC 2019
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
--
2.19.1
More information about the dri-devel
mailing list