Explorar el Código

pkgconfig: export variables

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>
Joshua Watt hace 5 años
padre
commit
42f33bb5a4

+ 2 - 2
meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in

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