aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2006-07-22 14:05:20 +0000
committerAndrew Dunstan <andrew@dunslane.net>2006-07-22 14:05:20 +0000
commitb0dc1fbbc527bec4c26b430f13c032a501a5c72e (patch)
treea5874f2a0b3f5898166d7b8b6c052f7cc190385b
parent3b2da547e92c66fe83fc40b4a43eccb2fc1416fc (diff)
downloadpostgresql-b0dc1fbbc527bec4c26b430f13c032a501a5c72e.tar.gz
postgresql-b0dc1fbbc527bec4c26b430f13c032a501a5c72e.zip
Add libdir to PATH for Cygwin as well as WIN32 - should fix buildfarm eel.
-rw-r--r--src/test/regress/pg_regress.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index ebc03114b53..23d83bfb7d1 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.11 2006/07/21 00:24:04 tgl Exp $
+ * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.12 2006/07/22 14:05:20 adunstan Exp $
*
*-------------------------------------------------------------------------
*/
@@ -513,7 +513,7 @@ initialize_environment(void)
*/
add_to_path("LD_LIBRARY_PATH", ':', libdir);
add_to_path("DYLD_LIBRARY_PATH", ':', libdir);
-#ifdef WIN32
+#if defined(WIN32) || defined(CYGWIN)
add_to_path("PATH", ';', libdir);
#endif
}
@@ -546,7 +546,7 @@ initialize_environment(void)
* this case. (XXX really? If so, what if installation has
* been relocated?)
*/
-#ifdef WIN32
+#if defined(WIN32) || defined(CYGWIN)
add_to_path("PATH", ';', libdir);
#endif