diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-11-01 21:45:13 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-14 11:14:39 +0000 |
commit | 07999325f94a60546212d37ffc9f4de7a3943214 (patch) | |
tree | 754236efdd3625755138e59b98f3eaf2c23b85ac | |
parent | 2bef0ae54a486aea5a21582a1ce5769fe81c0044 (diff) | |
download | poky-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.in | 4 |
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 | ||
3 | PKG_CONFIG_PATH="@PATH_NATIVE@" | 3 | export PKG_CONFIG_PATH="@PATH_NATIVE@" |
4 | PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" | 4 | export PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" |
5 | unset PKG_CONFIG_SYSROOT_DIR | 5 | unset PKG_CONFIG_SYSROOT_DIR |
6 | 6 | ||
7 | pkg-config "$@" | 7 | pkg-config "$@" |