summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-11-01 21:45:13 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-14 11:14:39 +0000
commit07999325f94a60546212d37ffc9f4de7a3943214 (patch)
tree754236efdd3625755138e59b98f3eaf2c23b85ac
parent2bef0ae54a486aea5a21582a1ce5769fe81c0044 (diff)
downloadpoky-07999325f94a60546212d37ffc9f4de7a3943214.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in4
1 files 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 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 @@
1#! /bin/sh 1#! /bin/sh
2 2
3PKG_CONFIG_PATH="@PATH_NATIVE@" 3export PKG_CONFIG_PATH="@PATH_NATIVE@"
4PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" 4export PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
5unset PKG_CONFIG_SYSROOT_DIR 5unset PKG_CONFIG_SYSROOT_DIR
6 6
7pkg-config "$@" 7pkg-config "$@"