mirror of
git://git.openembedded.org/meta-openembedded
synced 2025-12-31 13:38:06 +00:00
Commit c466cb9 (https://github.com/openembedded/meta-openembedded/commit/c466cb9) switched to using ANY_OF_DISTRO_FEATURES, so theoretically users can have either x11 or wayland in their DISTRO_FEATURES. In the case that only wayland is specified, this build error is seen: | In file included from ../sources/network-manager-applet-1.36.0/src/applet.c:25: | ../sources/network-manager-applet-1.36.0/src/applet.h:14:10: fatal error: gdk/gdkx.h: No such file or directory | 14 | #include <gdk/gdkx.h> | | ^~~~~~~~~~~~ | compilation terminated. gdkx.h is brought in via including x11 in DISTRO_FEATURES - so this patch removes the incompatible headers in the case of x11 not being specified in DISTRO_FEATURES. Signed-off-by: Eric Meyers <eric.meyers@arthrex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>