Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 163e72a

Browse files
committed
Add $libdir to mingw and cygwin for installcheck too.
1 parent d5003e5 commit 163e72a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/test/regress/pg_regress.sh

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.43 2004/05/19 05:20:27 momjian Exp $
2+
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.44 2004/05/20 00:21:36 momjian Exp $
33

44
me=`basename $0`
55
: ${TMPDIR=/tmp}
@@ -348,7 +348,7 @@ then
348348
# executables, not dlopen'ed ones)
349349
# ----------
350350
case $host_platform in
351-
*-*-cygwin*|*-*-mingw)
351+
*-*-cygwin*|*-*-mingw32*)
352352
PATH=$libdir:$PATH
353353
export PATH
354354
;;
@@ -439,6 +439,17 @@ then
439439

440440
else # not temp-install
441441

442+
# ----------
443+
# Windows needs shared libraries in PATH. (Only those linked into
444+
# executables, not dlopen'ed ones)
445+
# ----------
446+
case $host_platform in
447+
*-*-cygwin*|*-*-mingw32*)
448+
PATH=$libdir:$PATH
449+
export PATH
450+
;;
451+
esac
452+
442453
# If Unix sockets are not available, use the local host by default.
443454
if [ "$unix_sockets" = no ]; then
444455
PGHOST=$hostname

0 commit comments

Comments
 (0)