Permalink
Browse files

Put install bin in path after install has run.

  • Loading branch information...
1 parent 88a678c commit fe759f3c853cab5204c85ebc4c6b792b3817f636 @adunstan adunstan committed May 22, 2011
Showing with 8 additions and 4 deletions.
  1. +8 −4 run_build.pl
View
@@ -856,10 +856,6 @@ sub make_install
}
# make sure the installed libraries come first in dynamic load paths
- # this won;t have any effect under Windows, but the DLL copy above
- # achieves the same thing there anyway.
- # DYLD_LIBRARY_PATH is for darwin.
- # this is exactly what pg_regress does for its temp installs.
if (my $ldpath = $ENV{LD_LIBRARY_PATH})
{
@@ -877,6 +873,14 @@ sub make_install
{
$ENV{DYLD_LIBRARY_PATH}="$installdir/lib";
}
+ if ($using_msvc)
+ {
+ $ENV{PATH} = "$installdir/bin;$ENV{PATH}";
+ }
+ else
+ {
+ $ENV{PATH} = "$installdir/bin:$ENV{PATH}";
+ }
$steps_completed .= " Install";
}

0 comments on commit fe759f3

Please sign in to comment.