From 474eb0daa573e4d26e24e51011fb145da249c6d0 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 28 Apr 2017 13:58:14 +0800 Subject: python-pygobject: remove the empty pkgconfig directory 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. Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa --- meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb index 952145f1ef..acc2f5b7a6 100644 --- a/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb @@ -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 } -- cgit 1.2.3-korg