diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_9.1.6.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_9.1.6.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_9.1.6.bb b/meta/recipes-graphics/mesa/mesa_9.1.6.bb index 6e9cd826f0..388cfd785c 100644 --- a/meta/recipes-graphics/mesa/mesa_9.1.6.bb +++ b/meta/recipes-graphics/mesa/mesa_9.1.6.bb | |||
@@ -19,6 +19,8 @@ S = "${WORKDIR}/Mesa-${PV}" | |||
19 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | 19 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER |
20 | do_install_append() { | 20 | do_install_append() { |
21 | if ${@base_contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | 21 | if ${@base_contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then |
22 | sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@base_contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | 22 | if [ -e "${D}${includedir}/EGL/eglplatform.h" ]; then |
23 | sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@base_contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | ||
24 | fi | ||
23 | fi | 25 | fi |
24 | } \ No newline at end of file | 26 | } \ No newline at end of file |