From 04bf747cd97e8c05167891e8b4c639f0735c6216 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 21 May 2016 21:40:44 -0400 Subject: [PATCH] Pass PG_CONFIG variable to configure, for the benefit of citus --- pex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pex b/pex index 6a38dbd..4ed7db4 100755 --- a/pex +++ b/pex @@ -738,7 +738,8 @@ _install_one() { --bindir=$("$pg_config" --bindir) \ --includedir=$("$pg_config" --includedir) \ --libdir=$("$pg_config" --libdir) \ - --with-pgconfig=$("$pg_config" --bindir)/pg_config || exit + --with-pgconfig=$("$pg_config" --bindir)/pg_config \ + PG_CONFIG="$pg_config" || exit fi "$gnumake" all USE_PGXS=1 PG_CONFIG="$pg_config" || exit output "Installing $pkg"