weston: egl support needs egl glesv2
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 20 Nov 2018 20:20:03 +0000 (21:20 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 20 Nov 2018 22:12:02 +0000 (23:12 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/95db3f4ad4c7ae866b7db4431293c26faa5c1dfc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/weston/weston.mk

index efe12bc01ebb19d9478bd87661389f30fb35447e..57d6df4b2d26538e26a3531f4397aaf63aa37427 100644 (file)
@@ -50,9 +50,9 @@ else
 WESTON_CONF_OPTS += --disable-weston-launch
 endif
 
-ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND),y)
+ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND)$(BR2_PACKAGE_HAS_LIBGLES),yy)
 WESTON_CONF_OPTS += --enable-egl
-WESTON_DEPENDENCIES += libegl
+WESTON_DEPENDENCIES += libegl libgles
 else
 WESTON_CONF_OPTS += \
        --disable-egl \