From 82b562f077abca67735c190aab74c5f45b1d74d5 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 13 Mar 2019 15:10:30 +0000 Subject: [PATCH] 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 --- regress/Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/regress/Makefile.in b/regress/Makefile.in index 6f2d6841d..b65d4bc85 100644 --- a/regress/Makefile.in +++ b/regress/Makefile.in @@ -22,6 +22,17 @@ else endif 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: check: staged-install -- 2.49.0