[meta-virtualization] [PATCH] protobuf-c: Add protobuf's pkgconfig path into PKG_CONFIG_PATH
Bruce Ashfield
bruce.ashfield at gmail.com
Fri Oct 2 06:09:14 PDT 2015
On Wed, Sep 30, 2015 at 3:15 AM, <jianchuan.wang at windriver.com> wrote:
> From: Jianchuan Wang <jianchuan.wang at windriver.com>
>
> 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
> Signed-off-by: Jianchuan Wang <jianchuan.wang at windriver.com>
> ---
> recipes-containers/criu/protobuf-c_1.1.1.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/recipes-containers/criu/protobuf-c_1.1.1.bb b/recipes-containers/criu/protobuf-c_1.1.1.bb
> index 8c2d2b7..2800f12 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
>
> 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
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the meta-virtualization
mailing list