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

Commit f8bdef0

Browse files
committed
Windows wants shared libraries in PATH.
1 parent 25c0ffb commit f8bdef0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/test/regress/pg_regress.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.16 2001/01/02 02:13:48 tgl Exp $
2+
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.17 2001/01/13 03:25:48 petere Exp $
33

44
me=`basename $0`
55
: ${TMPDIR=/tmp}
@@ -296,6 +296,15 @@ then
296296
fi
297297
export LD_LIBRARY_PATH
298298

299+
# ----------
300+
# Windows needs shared libraries in PATH. (Only those linked into
301+
# executables, not dlopen'ed ones)
302+
# ----------
303+
case $host_platform in *-*-cygwin*)
304+
PATH=$libdir:$PATH
305+
export PATH
306+
;;
307+
esac
299308

300309
if [ -d "$temp_install" ]; then
301310
message "removing existing temp installation"

0 commit comments

Comments
 (0)