[OE-core] [PATCH] pkgconfig: export variables
Joshua Watt
jpewhacker at gmail.com
Tue Dec 18 17:31:22 UTC 2018
On Thu, Dec 6, 2018 at 1:34 PM Joshua Watt <jpewhacker at gmail.com> wrote:
>
> Armin,
>
> Would you mind backporting this to thud?
Ping on the backport.
>
> Thanks.
>
> On Thu, 2018-11-01 at 21:45 -0500, Joshua Watt wrote:
> > Export the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR variables in case
> > the
> > parent shell hasn't done so.
> > ---
> > .../recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in | 4
> > ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-
> > native.in b/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-
> > native.in
> > index 5e44bb435c3..a9324de4cf3 100644
> > --- a/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
> > +++ b/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
> > @@ -1,7 +1,7 @@
> > #! /bin/sh
> >
> > -PKG_CONFIG_PATH="@PATH_NATIVE@"
> > -PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
> > +export PKG_CONFIG_PATH="@PATH_NATIVE@"
> > +export PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
> > unset PKG_CONFIG_SYSROOT_DIR
> >
> > pkg-config "$@"
> --
> Joshua Watt <JPEWhacker at gmail.com>
>
More information about the Openembedded-core
mailing list