diff options
author | Kai Kang <kai.kang@windriver.com> | 2018-05-29 17:02:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-29 21:06:03 +0100 |
commit | 9e373fec2013c5b2f9297e8f88317628ba9b7dce (patch) | |
tree | d13566fb6c57a4cfa8ee3503fab204f74666a396 | |
parent | b3ab5fe359c38cdd5cd86cb8ffe076d7a2baac18 (diff) | |
download | openembedded-core-9e373fec2013c5b2f9297e8f88317628ba9b7dce.tar.gz openembedded-core-9e373fec2013c5b2f9297e8f88317628ba9b7dce.tar.bz2 openembedded-core-9e373fec2013c5b2f9297e8f88317628ba9b7dce.zip |
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.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 1 |
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 () { # libwayland-egl has been moved to wayland 1.15+ rm -f ${D}${libdir}/libwayland-egl* rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc + rmdir --ignore-fail-on-non-empty ${D}${libdir}/pkgconfig } # For the packages that make up the OpenGL interfaces, inject variables so that |