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:
parent
fe76c353af
commit
7f93f0620c
@ -3982,6 +3982,8 @@ func_exec_program_core ()
|
|||||||
# launches target application with the remaining arguments.
|
# launches target application with the remaining arguments.
|
||||||
func_exec_program ()
|
func_exec_program ()
|
||||||
{
|
{
|
||||||
|
case \" \$* \" in
|
||||||
|
*\\ --lt-*)
|
||||||
for lt_wr_arg
|
for lt_wr_arg
|
||||||
do
|
do
|
||||||
case \$lt_wr_arg in
|
case \$lt_wr_arg in
|
||||||
@ -3989,7 +3991,8 @@ func_exec_program ()
|
|||||||
*) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
|
*) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done ;;
|
||||||
|
esac
|
||||||
func_exec_program_core \${1+\"\$@\"}
|
func_exec_program_core \${1+\"\$@\"}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user