Optimize assignment of output_la.

* libltdl/config/ltmain.m4sh (func_mode_link): Save two fork/exec
instances.
Report by Ralf Wildenhues.
This commit is contained in:
Peter Rosin 2010-07-08 14:23:02 +02:00
parent 2e5ed25df3
commit 3f22cab581
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2010-07-08 Peter Rosin <peda@lysator.liu.se>
Optimize assignment of output_la.
* libltdl/config/ltmain.m4sh (func_mode_link): Save two fork/exec
instances.
Report by Ralf Wildenhues.
2010-07-08 Gary V. Vaughan <gary@gnu.org>
Fix a cut-n-pasto in "2010-07-07 Charles Wilson" patch.

View File

@ -6916,7 +6916,8 @@ EOF
func_show_eval "$cmd" 'exit $?'
skipped_export=false
elif test -n "$nm_file_list_spec"; then
output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
func_basename "$output"
output_la=$func_basename_result
save_libobjs=$libobjs
save_output=$output
output=${output_objdir}/${output_la}.nm