Browse Source

libevas: generic opengl option needs mesa

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 13 years ago
parent
commit
79f22504d7
2 changed files with 5 additions and 0 deletions
  1. 1 0
      package/efl/libevas/Config.in
  2. 4 0
      package/efl/libevas/libevas.mk

+ 1 - 0
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

+ 4 - 0
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