Make pg_config configurable in Makefile invocation (#392)
This allows to override the `PG_CONFIG` variable through environment variables when wanting to use another one that is not in the `PATH`.pull/402/head
parent
1617f0df09
commit
7623f15e68
2
Makefile
2
Makefile
|
@ -18,7 +18,7 @@ REGRESS = basic version guc pgsm_query_id functions counters relations database
|
|||
# which typical installcheck users do not have (e.g. buildfarm clients).
|
||||
# NO_INSTALLCHECK = 1
|
||||
|
||||
PG_CONFIG = pg_config
|
||||
PG_CONFIG ?= pg_config
|
||||
|
||||
ifdef USE_PGXS
|
||||
MAJORVERSION := $(shell pg_config --version | awk {'print $$2'} | cut -f1 -d".")
|
||||
|
|
Loading…
Reference in New Issue