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>
This commit is contained in:
Joshua Watt
2018-11-01 21:45:13 -05:00
committed by Richard Purdie
parent 2bef0ae54a
commit 07999325f9

View File

@@ -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 "$@"