From: Manuel Bachmann Date: Wed, 9 Dec 2015 11:06:56 +0000 (+0000) Subject: AMB (automotive-message-broker): fix pkg-config header path X-Git-Tag: albacore_1.0~10 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl.git;a=commitdiff_plain;h=5f3d05141b3ff1b725811b7c042829f4e1ae4467 AMB (automotive-message-broker): fix pkg-config header path Recipe install step moves headers to "/usr/include" instead of "/usr/include/amb", but pkg-config's .pc files are not updated accordingly. Do this during the same step. Change-Id: I83ee9e86e7708c9aebea9dd1b87474ba38da8365 Signed-off-by: Manuel Bachmann --- diff --git a/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb b/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb index 2894b2ce1..77f14a02d 100644 --- a/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb +++ b/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb @@ -30,6 +30,7 @@ EXTRA_OECMAKE += " -Denable_icecc=OFF" do_install_append() { mv ${D}/usr/include/amb/* ${D}/usr/include + sed -i 's,/amb,,' ${D}${libdir}/pkgconfig/*.pc install -d ${D}${systemd_unitdir}/system/ install -m 0644 ${WORKDIR}/ambd.service ${D}${systemd_unitdir}/system