diff options
author | Peter Rosin <peda@lysator.liu.se> | 2014-02-12 10:01:13 +0100 |
---|---|---|
committer | Peter Rosin <peda@lysator.liu.se> | 2014-02-12 10:04:56 +0100 |
commit | 0d666fc13b8e5a110e7600866d6fa55dade4d4a0 (patch) | |
tree | aca85520c3e39f0bbc3dba81f02ad58bf4af8b6b | |
parent | c18b2d494e03ed15407c65b1de4b2231d733fb75 (diff) | |
download | libtool-0d666fc13b8e5a110e7600866d6fa55dade4d4a0.tar.gz |
libtool: actually strip -Wl when relinking with $LD
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>
-rw-r--r-- | build-aux/ltmain.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 3b4e6ec2..f8e0f5fb 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -8094,7 +8094,7 @@ EOF # 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 |