]> granicus.if.org Git - postgresql/commitdiff
Add libdir to PATH for Cygwin as well as WIN32 - should fix buildfarm eel.
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 22 Jul 2006 14:05:20 +0000 (14:05 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 22 Jul 2006 14:05:20 +0000 (14:05 +0000)
src/test/regress/pg_regress.c

index ebc03114b53c9f779f38282abc5f2bf631cde649..23d83bfb7d1224f8999f84c04e2c01988b326519 100644 (file)
@@ -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