summaryrefslogtreecommitdiffstats
path: root/recipes-containers
diff options
context:
space:
mode:
authorJianchuan Wang <jianchuan.wang@windriver.com>2015-09-30 15:15:31 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-10-02 08:52:51 -0400
commit839e04c295d96dca2c52ccc2a25e93a86a30b199 (patch)
tree69061691f4a4448b72e400033a9b9806a025d4e0 /recipes-containers
parent49e29c7f838039c268b3fc8646e4d221c6d4baa9 (diff)
downloadmeta-virtualization-839e04c295d96dca2c52ccc2a25e93a86a30b199.tar.gz
protobuf-c: Add protobuf's pkgconfig path into PKG_CONFIG_PATH
Add the protobuf's pkgconfig path into PKG_CONFIG_PATH so that pkg-config can find the protoc from sysroot in the configure process. And don't conflict even if installing the protobuf in the localhost. Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers')
-rw-r--r--recipes-containers/criu/protobuf-c_1.1.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-containers/criu/protobuf-c_1.1.1.bb b/recipes-containers/criu/protobuf-c_1.1.1.bb
index 8c2d2b73..2800f12e 100644
--- a/recipes-containers/criu/protobuf-c_1.1.1.bb
+++ b/recipes-containers/criu/protobuf-c_1.1.1.bb
@@ -19,6 +19,10 @@ inherit autotools
19 19
20BBCLASSEXTEND = "native nativesdk" 20BBCLASSEXTEND = "native nativesdk"
21 21
22do_configure_prepend_class-target() {
23 export PKG_CONFIG_PATH="${STAGING_LIBDIR_NATIVE}/pkgconfig:${PKG_CONFIG_PATH}"
24}
25
22do_install_append_class-native() { 26do_install_append_class-native() {
23 install -m 755 ${B}/t/generated-code2/cxx-generate-packed-data ${D}/${bindir} 27 install -m 755 ${B}/t/generated-code2/cxx-generate-packed-data ${D}/${bindir}
24} 28}