Skip to content

Commit

Permalink
Allow PG_CONFIG being overwritten by command line.
Browse files Browse the repository at this point in the history
With this commit, PG_CONFIG can be passed to make
by the command line, allowing to overwrite the default
setting.
  • Loading branch information
Bernd Helmle committed Apr 3, 2018
1 parent 1b004a2 commit f4eb8a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ EXTENSION = toastinfo
DATA = toastinfo--1.sql
REGRESS = toastinfo

ifndef PG_CONFIG
PG_CONFIG = pg_config
endif

PGXS = $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

0 comments on commit f4eb8a3

Please sign in to comment.