1
1

Minor fix -- ensure to use the installed $libdir, not anything that

may already be in the LD_LIBRARY_PATH.

This commit was SVN r6765.
Этот коммит содержится в:
Jeff Squyres 2005-08-08 18:01:44 +00:00
родитель 32e71e5c6c
Коммит 54e3865c62

Просмотреть файл

@ -437,6 +437,14 @@ sub try_build {
}
}
# Ensure LD_LIBRARY_PATH points to our shared libraries
if (exists($ENV{LD_LIBRARY_PATH})) {
$ENV{LD_LIBRARY_PATH} = "$installdir/lib:" . $ENV{LD_LIBRARY_PATH};
} else {
$ENV{LD_LIBRARY_PATH};
}
# install it
$ret = do_command(1, "make install");
if ($ret->{status} != 0) {