Fixes the regression from commit v2.4.2.444 which is causing a
testsuite failure in duplicate_conv.at (seen on Cygwin).
* build-aux/ltmain.in (func_mode_link): $reload_cmds typically
starts with "$LD$reload_flag ..." when $LD is used to relink.
Make the case expression match that when checking if $LD is in
fact used to relink.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
# whole_archive_flag_spec and hope we can get by with turning comma
# into space.
case $reload_cmds in
- *\$LD\ *) wl= ;;
+ *\$LD[\ \$]*) wl= ;;
esac
if test -n "$convenience"; then
if test -n "$whole_archive_flag_spec"; then