[oe] [meta-oe][PATCH] python-pygobject: remove the empty pkgconfig directory
jackie.huang at windriver.com
jackie.huang at windriver.com
Fri Apr 28 05:58:14 UTC 2017
From: Jackie Huang <jackie.huang at windriver.com>
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 <jackie.huang at windriver.com>
---
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 952145f1e..acc2f5b7a 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
}
--
2.11.0
More information about the Openembedded-devel
mailing list