aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-05-20 00:21:36 +0000
committerBruce Momjian <bruce@momjian.us>2004-05-20 00:21:36 +0000
commit163e72aa60f80a7ce7d13e4382de513143bffba2 (patch)
tree11c73021ff2882077a6c52351e9033172dc9473c /src
parentd5003e5221d79ab97da4c671fd2ead4f06ece6c2 (diff)
downloadpostgresql-163e72aa60f80a7ce7d13e4382de513143bffba2.tar.gz
postgresql-163e72aa60f80a7ce7d13e4382de513143bffba2.zip
Add $libdir to mingw and cygwin for installcheck too.
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/pg_regress.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/test/regress/pg_regress.sh b/src/test/regress/pg_regress.sh
index d1e61c95c06..35c9b527aac 100644
--- a/src/test/regress/pg_regress.sh
+++ b/src/test/regress/pg_regress.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.43 2004/05/19 05:20:27 momjian Exp $
+# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.44 2004/05/20 00:21:36 momjian Exp $
me=`basename $0`
: ${TMPDIR=/tmp}
@@ -348,7 +348,7 @@ then
# executables, not dlopen'ed ones)
# ----------
case $host_platform in
- *-*-cygwin*|*-*-mingw)
+ *-*-cygwin*|*-*-mingw32*)
PATH=$libdir:$PATH
export PATH
;;
@@ -439,6 +439,17 @@ then
else # not temp-install
+ # ----------
+ # Windows needs shared libraries in PATH. (Only those linked into
+ # executables, not dlopen'ed ones)
+ # ----------
+ case $host_platform in
+ *-*-cygwin*|*-*-mingw32*)
+ PATH=$libdir:$PATH
+ export PATH
+ ;;
+ esac
+
# If Unix sockets are not available, use the local host by default.
if [ "$unix_sockets" = no ]; then
PGHOST=$hostname