From e7762d50c6bdd0e14f84a5281b3ad2d35d6fd14d Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 7 Mar 1999 22:46:52 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ ltmain.in | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75d33830f..cf2c03ffe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-03-07 Alexandre Oliva + * 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 diff --git a/ltmain.in b/ltmain.in index 3b5cbc23e..c16be0f0f 100644 --- a/ltmain.in +++ b/ltmain.in @@ -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 -- 2.47.3