protobuf-c: Add protobuf's pkgconfig path into PKG_CONFIG_PATH
PATCH 1/1 protobuf-c: Add protobuf's pkgconfig path into PKG_CONFIG_PATH
From: Jianchuan Wang <[email protected]>
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 <[email protected]>
--- recipes-containers/criu/protobuf-c_1.1.1.bb | 4 ++++ 1 file changed, 4 insertions(+)
recipes-containers/criu/protobuf-c_1.1.1.bb +4 -0
@@ -19,6 +19,10 @@ inherit autotools BBCLASSEXTEND = "native nativesdk" +do_configure_prepend_class-target() { + export PKG_CONFIG_PATH="${STAGING_LIBDIR_NATIVE}/pkgconfig:${PKG_CONFIG_PATH}" +} + do_install_append_class-native() { install -m 755 ${B}/t/generated-code2/cxx-generate-packed-data ${D}/${bindir} }
Signature · 1 line
1.9.1
Quoted 6 lines · On Wed, Sep 30, 2015 at 3:15 AM, <[email protected]> wrote:
From: Jianchuan Wang <[email protected]>
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.
merged.
Bruce
Quoted 28 lines
Signed-off-by Jianchuan Wang <[email protected]>--- recipes-containers/criu/protobuf-c_1.1.1.bb | 4 ++++ 1 file changed, 4 insertions(+)recipes-containers/criu/protobuf-c_1.1.1.bb +4
-1@@ -19,6 +19,10 @@ inherit autotools BBCLASSEXTEND = "native nativesdk" +do_configure_prepend_class-target() { + export PKG_CONFIG_PATH="${STAGING_LIBDIR_NATIVE}/pkgconfig:${PKG_CONFIG_PATH}" +} + do_install_append_class-native() { install -m 755 ${B}/t/generated-code2/cxx-generate-packed-data ${D}/${bindir} } --1.9.1
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"