mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
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:
committed by
Richard Purdie
parent
2bef0ae54a
commit
07999325f9
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user