From 0283ec58b3f4e179c0d8f57e5fc9ecb6e7750e17 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 11 Feb 2017 18:33:07 -0500 Subject: Backport changes from build64 --- .local/bin/config-path | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.local/bin/config-path') diff --git a/.local/bin/config-path b/.local/bin/config-path index 4b7cccb..dcac0e8 100755 --- a/.local/bin/config-path +++ b/.local/bin/config-path @@ -52,6 +52,7 @@ main() { var_init PATH var_init MANPATH var_init LD_LIBRARY_PATH + var_init PKG_CONFIG_PATH var_init RUBYLIB var_init PERL5LIB @@ -60,13 +61,14 @@ main() { var_add PATH "$prefix/bin" "$prefix/sbin" var_add MANPATH "$prefix/share/man" var_add LD_LIBRARY_PATH "$prefix"/lib{,32,64} + var_add PKG_CONFIG_PATH "$prefix"/lib{,32,64}/pkgconfig var_add RUBYLIB "$prefix"/lib{,32,64} var_add PERL5LIB "$prefix"/lib{,32,64}/perl5 done # Finally, print the values lines=() - for var in PATH MANPATH LD_LIBRARY_PATH RUBYLIB PERL5LIB; do + for var in PATH MANPATH LD_LIBRARY_PATH PKG_CONFIG_PATH RUBYLIB PERL5LIB; do lines+=("$(var_done "$var")") done shopt -s extglob -- cgit v1.2.3-54-g00ecf