mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-05 14:40:42 +08:00
libtool.m4: Avoid word splitting on untrusted inputs
If $multilib is set to more than one word, the following error can be seen during configuration: test: too many arguments * m4/libtool.m4: Wrap variable in quotes.
This commit is contained in:
parent
4e96fb2a47
commit
f91f7bc3ab
2
m4/libtool.m4
vendored
2
m4/libtool.m4
vendored
@ -2584,7 +2584,7 @@ cygwin* | mingw* | windows* | pw32* | cegcc*)
|
||||
# If user builds GCC with multilib enabled,
|
||||
# it should just install on $(libdir)
|
||||
# not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
|
||||
if test xyes = x$multilib; then
|
||||
if test xyes = x"$multilib"; then
|
||||
postinstall_cmds='base_file=`basename \$file`~
|
||||
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
|
||||
dldir=$destdir/`dirname \$dlpath`~
|
||||
|
Loading…
Reference in New Issue
Block a user