Skip to contentSkip to conversation

python-pygobject: remove the empty pkgconfig directory

PATCH New [email protected] 1 participant 1 message Apr 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pygobject: remove the empty pkgconfig directory

From: Jackie Huang <[email protected]>

The empty pkgconfif directory causes error when run relocatable_native_pcfiles:

| sed: can't read /path/to/recipe-sysroot-native/usr/lib/pkgconfig/*.pc: No such file or directory

So remove the directory instead of removing the pc file but left an empty pkgconfig diretory.

---
 meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb +1 -1
index 952145f1e..acc2f5b7a 100644
@@ -30,5 +30,5 @@ RDEPENDS_${PN}_class-native = ""
 
 do_install_append() {
     # Remove files that clash with python3-pygobject; their content is same
-    rm ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig/pygobject-3.0.pc
+    rm -rf ${D}${includedir}/pygobject-3.0//pygobject.h ${D}${libdir}/pkgconfig
 }
Signature · 1 line
2.11.0