From: Joshua Watt Date: Fri, 2 Nov 2018 02:45:13 +0000 (-0500) Subject: pkgconfig: export variables X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42f33bb5a480324b81c875fbb28872c734860253;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pkgconfig: export variables Export the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR variables in case the parent shell hasn't done so. Signed-off-by: Richard Purdie --- 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 "$@"