summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/weston/weston.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index efe12bc01e..57d6df4b2d 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -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 \
OpenPOWER on IntegriCloud