]> git.ipfire.org Git - thirdparty/libtool.git/commit
Prefer $NM @file when the toolchain isn't native to $build.
authorPeter Rosin <peda@lysator.liu.se>
Mon, 13 Sep 2010 07:48:57 +0000 (09:48 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Thu, 16 Sep 2010 18:00:10 +0000 (20:00 +0200)
commit72064249b217a22626dd8da8a5a2ce7f12e4404d
treedd9f9f7b58ef98f603f996c924103d6e91b63e09
parenta3ecc5f26f403c816b7efaa049fc5ff0e5bc0d22
Prefer $NM @file when the toolchain isn't native to $build.

* libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating
the command line length and take the @file branch *if* the file
names needs to be converted for the toolchain and the @file
branch works.  Fixes problems in stresstest.at when doing a cross
from Cygwin to MinGW using MinGW native tools (a.k.a. a "faked"
cross), and for the specific case of MSVC on Cygwin it makes the
test pass.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
ChangeLog
libltdl/config/ltmain.m4sh