summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorAdrian Negreanu <[email protected]>2014-06-06 12:16:07 +0300
committerEmil Velikov <[email protected]>2014-06-09 22:50:53 +0100
commita49ebfab1d093475610e8504cf3400c054e300c0 (patch)
tree396bfebf29b72212f5df75ab2668089f28104b5a /src/egl
parentaba0f152be5bbc9fa844a53014bde7c02f056e4f (diff)
android: add libloader to libGLES_mesa and libmesa_egl_dri2
This fixes src/egl/drivers/dri2/platform_android.c:664: error: undefined reference to 'loader_set_logger' src/egl/drivers/dri2/platform_android.c:678: error: undefined reference to 'loader_get_driver_for_fd' Cc: "10.1 10.2" <[email protected]> Signed-off-by: Adrian Negreanu <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/Android.mk3
-rw-r--r--src/egl/main/Android.mk5
2 files changed, 7 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/Android.mk b/src/egl/drivers/dri2/Android.mk
index e46c8a9e155..2ff62fc3a4f 100644
--- a/src/egl/drivers/dri2/Android.mk
+++ b/src/egl/drivers/dri2/Android.mk
@@ -42,6 +42,9 @@ LOCAL_C_INCLUDES := \
$(MESA_TOP)/src/loader \
$(DRM_GRALLOC_TOP)
+LOCAL_STATIC_LIBRARIES := \
+ libloader
+
LOCAL_MODULE := libmesa_egl_dri2
include $(MESA_COMMON_MK)
diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
index 61465da05f5..580289f8aad 100644
--- a/src/egl/main/Android.mk
+++ b/src/egl/main/Android.mk
@@ -154,11 +154,14 @@ LOCAL_STATIC_LIBRARIES := \
libmesa_glsl \
libmesa_glsl_utils \
libmesa_gallium \
- libloader \
$(LOCAL_STATIC_LIBRARIES)
endif # MESA_BUILD_GALLIUM
+LOCAL_STATIC_LIBRARIES := \
+ $(LOCAL_STATIC_LIBRARIES) \
+ libloader
+
LOCAL_MODULE := libGLES_mesa
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl