libunique: fix installed-vs-shipped qa issue

libunique shows installed-vs-shipped QA issue if configure option
'--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not
   supported by bsp and then not set in MACHINE_FEATURES
or:
2) set in local.conf directly:
   EXTRA_OECONF_append_pn-libunique = " --disable-introspection"

Remove empty directory to fix the QA issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Kai Kang 2018-11-05 00:59:15 -05:00 committed by Armin Kuster
parent 28893c142f
commit cfe2b7d07e

View File

@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc
REQUIRED_DISTRO_FEATURES = "x11"
do_install_append () {
rmdir --ignore-fail-on-non-empty ${D}${datadir}
}