mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-24 14:24:59 +08:00
Fix sh.test regression in last patch.
* libltdl/config/ltmain.m4sh (func_mode_link): Quote $#. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
739b7e4349
commit
59f927914c
@ -1,5 +1,7 @@
|
||||
2008-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.
|
||||
|
||||
Disallow `-L path', do not misparse it silently.
|
||||
* libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
|
||||
without argument, and `-L path', i.e., with a space.
|
||||
|
@ -4036,7 +4036,7 @@ func_mode_link ()
|
||||
func_stripname '-L' '' "$arg"
|
||||
dir=$func_stripname_result
|
||||
if test -z "$dir"; then
|
||||
if test $# -gt 0; then
|
||||
if test "$#" -gt 0; then
|
||||
func_fatal_error "require no space between \`-L' and \`$1'"
|
||||
else
|
||||
func_fatal_error "need path for \`-L' option"
|
||||
|
Loading…
Reference in New Issue
Block a user