1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 03:54:59 -05:00

Fix libtool performance regression with many arguments

Reported and fixed upstream, patching our version for now until a future
release fixes it:

* http://lists.gnu.org/archive/html/bug-libtool/2011-01/msg00007.html
* http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=286e87b1030c353d9cfc89dbb72d59e0391cb693

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-01-28 11:38:58 -06:00
parent fe76c353af
commit 7f93f0620c

View File

@ -3982,6 +3982,8 @@ func_exec_program_core ()
# launches target application with the remaining arguments.
func_exec_program ()
{
case \" \$* \" in
*\\ --lt-*)
for lt_wr_arg
do
case \$lt_wr_arg in
@ -3989,7 +3991,8 @@ func_exec_program ()
*) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
esac
shift
done
done ;;
esac
func_exec_program_core \${1+\"\$@\"}
}