diff options
author | Peter Rosin <peda@lysator.liu.se> | 2010-07-08 14:23:02 +0200 |
---|---|---|
committer | Peter Rosin <peda@lysator.liu.se> | 2010-07-08 14:23:02 +0200 |
commit | 3f22cab581a21d240df9cbfc6d1fdedaa1aa2b97 (patch) | |
tree | 8d29c3087bb07c3a00cdd5e7475ba926409e1685 | |
parent | 2e5ed25df3ccbc6e0fef5195199ba2e7649c2767 (diff) | |
download | libtool-3f22cab581a21d240df9cbfc6d1fdedaa1aa2b97.tar.gz |
Optimize assignment of output_la.
* libltdl/config/ltmain.m4sh (func_mode_link): Save two fork/exec
instances.
Report by Ralf Wildenhues.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | libltdl/config/ltmain.m4sh | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -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. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 1a2c02d3..a8f0ac13 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -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 |