소스 검색

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 5 년 전
부모
커밋
42f33bb5a4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in

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