aboutsummaryrefslogtreecommitdiff
path: root/contrib/pgcrypto
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-06-26 22:05:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-06-26 22:05:04 +0000
commitb09c248bdd3d0d86714865d2142604aea789e840 (patch)
tree382d314f0df7e8cd877d8d0e554c199c24833b36 /contrib/pgcrypto
parent80f3b5ad2e294b16f1c179a8c6cde98ee5fb3a53 (diff)
downloadpostgresql-b09c248bdd3d0d86714865d2142604aea789e840.tar.gz
postgresql-b09c248bdd3d0d86714865d2142604aea789e840.zip
Fix PGXS conventions so that extensions can be built against Postgres
installations whose pg_config program does not appear first in the PATH. Per gripe from Eddie Stanley and subsequent discussions with Fabien Coelho and others.
Diffstat (limited to 'contrib/pgcrypto')
-rw-r--r--contrib/pgcrypto/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/pgcrypto/Makefile b/contrib/pgcrypto/Makefile
index cb5e7bc4f28..44d5fe401bf 100644
--- a/contrib/pgcrypto/Makefile
+++ b/contrib/pgcrypto/Makefile
@@ -1,5 +1,5 @@
#
-# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.25 2007/01/14 20:55:14 alvherre Exp $
+# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.26 2007/06/26 22:05:03 tgl Exp $
#
INT_SRCS = md5.c sha1.c sha2.c internal.c internal-sha2.c blf.c rijndael.c \
@@ -39,7 +39,8 @@ REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \
ifdef USE_PGXS
-PGXS := $(shell pg_config --pgxs)
+PG_CONFIG = pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/pgcrypto