* ltmain.in (relink_command): do not prepend cd pwd to it, the

scripts already enters the correct directory, and expanding the
pathname would prevent the build tree from moving
This commit is contained in:
Alexandre Oliva 1999-03-07 22:46:52 +00:00 committed by Alexandre Oliva
parent 39088c67ab
commit e7762d50c6
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,9 @@
1999-03-07 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltmain.in (relink_command): do not prepend cd `pwd` to it, the
scripts already enters the correct directory, and expanding the
pathname would prevent the build tree from moving
* ltconfig.in (enable_fast_install): force it to no only if we
need relink; in the other cases, set it to needless
* ltmain.in (fast_install): if needless, set relink_command empty

View File

@ -2544,7 +2544,7 @@ static const void *lt_preloaded_setup() {
if test "$fast_install" = yes; then
relink_command=`echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
else
# needless
# fast_install is set to needless
relink_command=
fi
else
@ -2577,7 +2577,6 @@ static const void *lt_preloaded_setup() {
# Quote the relink command for shipping.
if test -n "$relink_command"; then
relink_command="cd `pwd`; $relink_command"
relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
fi