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

Commit b0dc1fb

Browse files
committed
Add libdir to PATH for Cygwin as well as WIN32 - should fix buildfarm eel.
1 parent 3b2da54 commit b0dc1fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/regress/pg_regress.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.11 2006/07/21 00:24:04 tgl Exp $
14+
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.12 2006/07/22 14:05:20 adunstan Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -513,7 +513,7 @@ initialize_environment(void)
513513
*/
514514
add_to_path("LD_LIBRARY_PATH", ':', libdir);
515515
add_to_path("DYLD_LIBRARY_PATH", ':', libdir);
516-
#ifdef WIN32
516+
#if defined(WIN32) || defined(CYGWIN)
517517
add_to_path("PATH", ';', libdir);
518518
#endif
519519
}
@@ -546,7 +546,7 @@ initialize_environment(void)
546546
* this case. (XXX really? If so, what if installation has
547547
* been relocated?)
548548
*/
549-
#ifdef WIN32
549+
#if defined(WIN32) || defined(CYGWIN)
550550
add_to_path("PATH", ';', libdir);
551551
#endif
552552

0 commit comments

Comments
 (0)