Skip to contentSkip to conversation

mesa: fix installed-vs-shipped error

PATCH New [email protected] 1 participant 1 message May 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa: fix installed-vs-shipped error

From: Kai Kang <[email protected]>

When 'opengl' is not set in DISTRO_FEATURES, ${libdir}/pkgconfig is an empty directory and cause installed-vs-shipped error.

---
 meta/recipes-graphics/mesa/mesa.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/mesa/mesa.inc +1 -0
index 8bf417ac737..fa99f7d50cc 100644
@@ -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
Signature · 1 line
2.14.1