aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleimaohui <leimaohui@cn.fujitsu.com>2018-07-20 09:11:51 -0700
committerArmin Kuster <akuster808@gmail.com>2018-08-19 07:22:34 -0700
commite11c0b9340117f25097c608633f2ebaffe464944 (patch)
tree03550bb85e36c5b14db7585d7ceea92c17a35fee
parent7825bc0ed57c5da0fafd260b5e81346410582e33 (diff)
downloadmeta-openembedded-contrib-e11c0b9340117f25097c608633f2ebaffe464944.tar.gz
meta-openembedded-contrib-e11c0b9340117f25097c608633f2ebaffe464944.tar.bz2
meta-openembedded-contrib-e11c0b9340117f25097c608633f2ebaffe464944.zip
libnih: Fix do_package error when enable mutilib.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-support/libnih/libnih_1.0.3.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libnih/libnih_1.0.3.bb b/meta-oe/recipes-support/libnih/libnih_1.0.3.bb
index 3e35f4d1fc..fcb6bebd60 100644
--- a/meta-oe/recipes-support/libnih/libnih_1.0.3.bb
+++ b/meta-oe/recipes-support/libnih/libnih_1.0.3.bb
@@ -34,5 +34,15 @@ SRC_URI[sha256sum] = "897572df7565c0a90a81532671e23c63f99b4efde2eecbbf11e7857fbc
inherit autotools
inherit gettext
+do_configure_append () {
+ sed -i -e 's,lib/pkgconfig,${baselib}/pkgconfig,g' ${S}/nih/Makefile.in ${S}/nih-dbus/Makefile.in
+}
+
+FILES_${PN}-dev += "${libdir}/pkgconfig/* \
+ ${includedir}/* \
+ ${libdir}/*.so \
+ ${datadir}/* \
+ "
+
# target libnih requires native nih-dbus-tool
BBCLASSEXTEND = "native"