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 <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jackie Huang 2017-04-28 13:58:14 +08:00 committed by Martin Jansa
parent 6ad29368c0
commit 474eb0daa5

View File

@ -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
}