Commit 163e72aa authored by Bruce Momjian's avatar Bruce Momjian

Add $libdir to mingw and cygwin for installcheck too.

parent d5003e52
#! /bin/sh #! /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` me=`basename $0`
: ${TMPDIR=/tmp} : ${TMPDIR=/tmp}
...@@ -348,7 +348,7 @@ then ...@@ -348,7 +348,7 @@ then
# executables, not dlopen'ed ones) # executables, not dlopen'ed ones)
# ---------- # ----------
case $host_platform in case $host_platform in
*-*-cygwin*|*-*-mingw) *-*-cygwin*|*-*-mingw32*)
PATH=$libdir:$PATH PATH=$libdir:$PATH
export PATH export PATH
;; ;;
...@@ -439,6 +439,17 @@ then ...@@ -439,6 +439,17 @@ then
else # not temp-install 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 are not available, use the local host by default.
if [ "$unix_sockets" = no ]; then if [ "$unix_sockets" = no ]; then
PGHOST=$hostname PGHOST=$hostname
......
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