summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-05-29 17:02:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-29 21:07:17 +0100
commited706179dec101441fef5af5114d00fa0655cc70 (patch)
tree46eeee3fb6db0611c87876f5ce323c31fd8422f3 /meta/recipes-graphics/mesa/mesa.inc
parentb8483e8bc87a3a81afe7b517be3a632fa70603df (diff)
downloadpoky-ed706179dec101441fef5af5114d00fa0655cc70.tar.gz
mesa: fix installed-vs-shipped error
When 'opengl' is not set in DISTRO_FEATURES, ${libdir}/pkgconfig is an empty directory and cause installed-vs-shipped error. (From OE-Core rev: 9e373fec2013c5b2f9297e8f88317628ba9b7dce) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 8bf417ac73..fa99f7d50c 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -138,6 +138,7 @@ do_install_append () {
138 # libwayland-egl has been moved to wayland 1.15+ 138 # libwayland-egl has been moved to wayland 1.15+
139 rm -f ${D}${libdir}/libwayland-egl* 139 rm -f ${D}${libdir}/libwayland-egl*
140 rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc 140 rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
141 rmdir --ignore-fail-on-non-empty ${D}${libdir}/pkgconfig
141} 142}
142 143
143# For the packages that make up the OpenGL interfaces, inject variables so that 144# For the packages that make up the OpenGL interfaces, inject variables so that