From: Alexandre Oliva Date: Fri, 26 May 2000 05:35:00 +0000 (+0000) Subject: * ltmain.in: Output libobj file in a temporary file, then X-Git-Tag: multi-language-merge-point~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd5109c5926421845f8b71b3267a3e177d854a5;p=thirdparty%2Flibtool.git * ltmain.in: Output libobj file in a temporary file, then rename it. --- diff --git a/ChangeLog b/ChangeLog index e2f537f7f..54c4cfaa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-05-26 Alexandre Oliva + * ltmain.in: Output libobj file in a temporary file, then + rename it. + * ltconfig.in: Make the output script executable after updating available_tags. diff --git a/ltmain.in b/ltmain.in index 09caebd74..a754faf1a 100644 --- a/ltmain.in +++ b/ltmain.in @@ -519,9 +519,9 @@ if test -z "$show_help"; then # Delete any leftover library objects. if test "$build_old_libs" = yes; then - removelist="$obj $lobj $libobj" + removelist="$obj $lobj $libobj ${libobj}T" else - removelist="$lobj $libobj" + removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist @@ -546,6 +546,7 @@ if test -z "$show_help"; then removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit 1" 1 2 15 else + output_obj= need_locks=no lockfile= fi @@ -580,11 +581,11 @@ compiler." eval srcfile=\"$fix_srcfile_path\" fi - $run $rm "$libobj" + $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. - test -z "$run" && cat > $libobj < ${libobj}T <> $libobj <> ${libobj}T <> $libobj <> ${libobj}T <> $libobj <> ${libobj}T <> $libobj <> ${libobj}T <