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" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
$(MESA_TOP)/src/loader \
$(DRM_GRALLOC_TOP)
+LOCAL_STATIC_LIBRARIES := \
+ libloader
+
LOCAL_MODULE := libmesa_egl_dri2
include $(MESA_COMMON_MK)
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