libevas: generic opengl option needs mesa
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 7 Feb 2012 22:19:21 +0000 (23:19 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 7 Feb 2012 22:19:21 +0000 (23:19 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/efl/libevas/Config.in
package/efl/libevas/libevas.mk

index e2f5349d7056727a5f8f3ebe10b700b6ea22f0a7..3afba1bd5c16d2d20c637572871352b7c57dbb92 100644 (file)
@@ -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
index 14f49bb6d24a7c0630ac5b8d30111870d958c8a6..9f1cf799fb37a3b4fa4e10fed7920e149b3d6adc 100644 (file)
@@ -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