glsdk-example-apps: Fix build when x11 is not available
PATCH 1/1 glsdk-example-apps: Fix build when x11 is not available
When the graphics driver is not built with x11 support the pkg-config file will include a cflag that causes the correct non-x11 headers to be included. This package does not correctly check pkg-config and so misses this cflag. Add it manually.
Signed-off-by Andrew Davis <[email protected]>
--- .../recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb +3 -1
@@ -16,7 +16,9 @@ SRC_URI = "git://git.ti.com/git/glsdk/example-applications.git;protocol=https;br SRCREV="52466430609c402a9f1c0667ccf727d096336d0d" -PR = "r52" +PR = "r53" + +CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11',d)}" do_install:append () { install -d ${D}${sysconfdir}/glsdkstatcoll
Signature · 1 line
2.39.1