bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool 2.4 args parsing incredibly slow


From: Peter O'Gorman
Subject: Re: libtool 2.4 args parsing incredibly slow
Date: Thu, 27 Jan 2011 21:11:44 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7

On 01/27/2011 12:56 AM, Ralf Wildenhues wrote:

I like this as a first measure.

This is what I am pushing - it ends up looking like this in the wrapper script:

func_exec_program ()
{
  case " $* " in
  *\ --lt-*)
    for lt_wr_arg
    do
      case $lt_wr_arg in
      --lt-*) ;;
      *) set x "$@" "$lt_wr_arg"; shift;;
      esac
      shift
    done ;;
  esac
  func_exec_program_core ${1+"$@"}
}

Thank you!

Peter

Attachment: 0001-Don-t-loop-through-wrapper-script-arguments-unnecess.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]