|
1 | 1 | #! /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 $ |
3 | 3 |
|
4 | 4 | me=`basename$0` |
5 | 5 | :${TMPDIR=/tmp} |
|
348 | 348 | # executables, not dlopen'ed ones) |
349 | 349 | # ---------- |
350 | 350 | case$host_platformin |
351 | | -*-*-cygwin*|*-*-mingw) |
| 351 | +*-*-cygwin*|*-*-mingw32*) |
352 | 352 | PATH=$libdir:$PATH |
353 | 353 | export PATH |
354 | 354 | ;; |
@@ -439,6 +439,17 @@ then |
439 | 439 |
|
440 | 440 | else# not temp-install |
441 | 441 |
|
| 442 | +# ---------- |
| 443 | +# Windows needs shared libraries in PATH. (Only those linked into |
| 444 | +# executables, not dlopen'ed ones) |
| 445 | +# ---------- |
| 446 | +case$host_platformin |
| 447 | +*-*-cygwin*|*-*-mingw32*) |
| 448 | + PATH=$libdir:$PATH |
| 449 | +export PATH |
| 450 | + ;; |
| 451 | +esac |
| 452 | + |
442 | 453 | # If Unix sockets are not available, use the local host by default. |
443 | 454 | if ["$unix_sockets"= no ];then |
444 | 455 | PGHOST=$hostname |
|