From fd8db3d60c9194c1d27d1bc301f3e0c6b0c81109 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 3 Mar 2023 20:07:26 +0100 Subject: [PATCH] package/libglfw: add wayland dependency Fix added by commit 0bbb12eff3b9f9d9719c48644c2b3d563e80de48 was incomplete resulting in the following build failure: -- Checking for modules 'wayland-client>=0.2.7;wayland-cursor>=0.2.7;wayland-egl>=0.2.7;xkbcommon' -- Package 'wayland-client', required by 'virtual:world', not found -- Package 'wayland-cursor', required by 'virtual:world', not found -- Package 'wayland-egl', required by 'virtual:world', not found CMake Error at /home/autobuild/autobuild/instance-9/output-1/host/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message): A required package was not found Fixes: - http://autobuild.buildroot.org/results/9c032902418a4ab0c9aa655eb29eddee0711815d - http://autobuild.buildroot.org/results/7381e114fa5c796c6edbb2c8e3987563bb32b6fa Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/libglfw/libglfw.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libglfw/libglfw.mk b/package/libglfw/libglfw.mk index eee8e7b298..f5d254eec3 100644 --- a/package/libglfw/libglfw.mk +++ b/package/libglfw/libglfw.mk @@ -29,7 +29,7 @@ LIBGLFW_DEPENDENCIES += libgles endif ifeq ($(BR2_PACKAGE_WAYLAND),y) -LIBGLFW_DEPENDENCIES += libxkbcommon wayland-protocols +LIBGLFW_DEPENDENCIES += libxkbcommon wayland wayland-protocols # Override pkg-config pkgdatadir variable, it needs the prefix LIBGLFW_CONF_OPTS += \ -DGLFW_USE_WAYLAND=1 \