summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_git.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_git.bb b/meta/recipes-graphics/mesa/mesa_git.bb
index 1babcc05a9..714911f81f 100644
--- a/meta/recipes-graphics/mesa/mesa_git.bb
+++ b/meta/recipes-graphics/mesa/mesa_git.bb
@@ -23,6 +23,8 @@ S = "${WORKDIR}/git"
23#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER 23#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
24do_install_append() { 24do_install_append() {
25 if ${@base_contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then 25 if ${@base_contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
26 sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@base_contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h 26 if [ -e "${D}${includedir}/EGL/eglplatform.h" ]; then
27 sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@base_contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
28 fi
27 fi 29 fi
28} 30}