]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (relink_command): do not prepend cd `pwd` to it, the
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 7 Mar 1999 22:46:52 +0000 (22:46 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 7 Mar 1999 22:46:52 +0000 (22:46 +0000)
scripts already enters the correct directory, and expanding the
pathname would prevent the build tree from moving

ChangeLog
ltmain.in

index 75d33830fb56138aef99ed1476c55e3eee5352d3..cf2c03ffe48f4d9a087d96ebb01c47a4de96a844 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 3b5cbc23e23e694fb2fc87ab7b82adfdc312a586..c16be0f0f7e5b05d3d99d608f9aed2ac2a0192a2 100644 (file)
--- 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