kmscube: Fix build when x11 is absent in distro features
PATCH 1/1 kmscube: Fix build when x11 is absent in distro features
distros might use openGL but not x11 ( e.g. EGL ), therefore fix build for such combination
Signed-off-by Khem Raj <[email protected]>
--- meta/recipes-graphics/kmscube/kmscube_git.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-graphics/kmscube/kmscube_git.bb +3 -0
@@ -24,3 +24,6 @@ DEPENDS = "virtual/libgbm" PACKAGECONFIG ??= "" PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" + +CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" +
Signature · 1 line
2.35.1