summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/weston/weston.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index e9de56b2c6..efe12bc01e 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -50,8 +50,7 @@ else
WESTON_CONF_OPTS += --disable-weston-launch
endif
-# Needs wayland-egl, which normally only mesa provides
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)$(BR2_PACKAGE_MESA3D_OPENGL_ES),yy)
+ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND),y)
WESTON_CONF_OPTS += --enable-egl
WESTON_DEPENDENCIES += libegl
else
OpenPOWER on IntegriCloud