diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_git.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_git.bb b/meta/recipes-graphics/mesa/mesa_git.bb index 8f70f6721b..c0345178c4 100644 --- a/meta/recipes-graphics/mesa/mesa_git.bb +++ b/meta/recipes-graphics/mesa/mesa_git.bb | |||
@@ -17,6 +17,6 @@ inherit pythonnative | |||
17 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | 17 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER |
18 | do_install_append() { | 18 | do_install_append() { |
19 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | 19 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then |
20 | sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)/#if ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | 20 | sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h |
21 | fi | 21 | fi |
22 | } | 22 | } |