From 07999325f94a60546212d37ffc9f4de7a3943214 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Thu, 1 Nov 2018 21:45:13 -0500 Subject: pkgconfig: export variables Export the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR variables in case the parent shell hasn't done so. (From OE-Core rev: 42f33bb5a480324b81c875fbb28872c734860253) Signed-off-by: Richard Purdie --- meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in b/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in index 5e44bb435c..a9324de4cf 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 "$@" -- cgit v1.2.3-54-g00ecf