diff --git a/package/weston/weston.mk b/package/weston/weston.mk index e3a8f29a85..de734e033c 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -11,7 +11,8 @@ WESTON_LICENSE = MIT WESTON_LICENSE_FILES = COPYING WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \ - libxkbcommon pixman libpng jpeg mtdev udev cairo libinput + libxkbcommon pixman libpng jpeg mtdev udev cairo libinput \ + $(if $(BR2_PACKAGE_WEBP),webp) WESTON_CONF_OPTS = \ --with-dtddir=$(STAGING_DIR)/usr/share/wayland \