aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bachmann <mbc@iot.bzh>2015-12-09 11:06:56 +0000
committerManuel Bachmann <mbc@iot.bzh>2015-12-09 17:30:46 +0000
commit5f3d05141b3ff1b725811b7c042829f4e1ae4467 (patch)
treedf8f85aff40da1aed5ad98394ebd81cd183dd3b9
parent1a70860b4438d4e0259ef3b40c9f890d9695e059 (diff)
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 <mbc@iot.bzh>
-rw-r--r--meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb1
1 files changed, 1 insertions, 0 deletions
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