Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] pkgconfig: export variables
@ 2018-11-02  2:45 Joshua Watt
  2018-11-02  3:03 ` ✗ patchtest: failure for " Patchwork
  2018-12-06 19:34 ` [PATCH] " Joshua Watt
  0 siblings, 2 replies; 4+ messages in thread
From: Joshua Watt @ 2018-11-02  2:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: Maxin B . John

Export the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR variables in case the
parent shell hasn't done so.
---
 .../recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in b/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
index 5e44bb435c3..a9324de4cf3 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
+++ b/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 "$@"
-- 
2.19.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-18 17:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-02  2:45 [PATCH] pkgconfig: export variables Joshua Watt
2018-11-02  3:03 ` ✗ patchtest: failure for " Patchwork
2018-12-06 19:34 ` [PATCH] " Joshua Watt
2018-12-18 17:31   ` Joshua Watt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox