Commit 82b562f0 authored by Sandro Santilli's avatar Sandro Santilli

Ensure "make check" uses configured PostgreSQL target bins under regress too

References #4349

git-svn-id: http://svn.osgeo.org/postgis/trunk@17340 b70326c6-7e19-0410-871a-916f4a2858ee
parent fcab3a15
...@@ -22,6 +22,17 @@ else ...@@ -22,6 +22,17 @@ else
endif endif
REGRESS_INSTALLDIR=$(srcdir)/00-regress-install REGRESS_INSTALLDIR=$(srcdir)/00-regress-install
# MingW hack: rather than use PGSQL_BINDIR directly, we change to the directory and
# then use "pwd" to return the path. This ensures that the returned path is in MSYS
# format, otherwise colons in drive letters will break PATH.
PGSQL_BINDIR=$(shell cd "@PGSQL_BINDIR@" && pwd)
#
# Put path from pg_config into front of search path
#
PATH := $(PGSQL_BINDIR):$(PATH)
export PATH
all install uninstall: all install uninstall:
check: staged-install check: staged-install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment