]> code.ossystems Code Review - openembedded-core.git/commitdiff
pkgconfig: export variables
authorJoshua Watt <jpewhacker@gmail.com>
Fri, 2 Nov 2018 02:45:13 +0000 (21:45 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Nov 2018 15:18:28 +0000 (15:18 +0000)
Export the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR variables in case the
parent shell hasn't done so.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in

index 5e44bb435c30cc0d585f37613828ffc1b848adfb..a9324de4cf3ca1947c176348962af4a8fc8ec539 100644 (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 "$@"