Skip to content

Commit

Permalink
Fixed path to pg_config
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Vasilyev committed Nov 5, 2015
1 parent 6780d28 commit 509ca85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ EXTRA_CLEAN = y.tab.c y.tab.h \
jsquery_gram.c jsquery_scan.c jsquery_gram.h

ifdef USE_PGXS
PG_CONFIG = pg_config
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Before build and install you should ensure following:
PostgreSQL from source.
* You have flex and bison installed on your system. JsQuery was tested on
flex 2.5.37-2.5.39, bison 2.7.12.
* Your PATH variable is configured so that pg\_config command available.
* Your PATH variable is configured so that pg\_config command available, or set PG_CONFIG variable.

Typical installation procedure may look like this:

Expand Down

0 comments on commit 509ca85

Please sign in to comment.