summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/efl/libevas/Config.in1
-rw-r--r--package/efl/libevas/libevas.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/package/efl/libevas/Config.in b/package/efl/libevas/Config.in
index e2f5349d7..3afba1bd5 100644
--- a/package/efl/libevas/Config.in
+++ b/package/efl/libevas/Config.in
@@ -134,6 +134,7 @@ choice
default BR2_PACKAGE_LIBEVAS_GL
config BR2_PACKAGE_LIBEVAS_GL
+ select BR2_PACKAGE_MESA3D
bool "generic OpenGL"
config BR2_PACKAGE_LIBEVAS_GLES_SGX
diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 14f49bb6d..9f1cf799f 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -98,6 +98,10 @@ LIBEVAS_CONF_OPT += --enable-gl-sdl
LIBEVAS_DEPENDENCIES += sdl
endif
+ifeq ($(BR2_PACKAGE_LIBEVAS_GL),y)
+LIBEVAS_DEPENDENCIES += mesa3d
+endif
+
ifeq ($(BR2_PACKAGE_LIBEVAS_GLES_SGX),y)
LIBEVAS_CONF_OPT += --enable-gl-flavor-gles --enable-gles-variety-sgx
endif