[PATCH] libtool: fix data imports with GNU ld on 64bit windows

2019-10-09 Thread Michael Haubenwallner
Using '_nm__' to match symbols from GNU ld to enable special data import treatment on windows targets does rely on the leading underscore being stripped from the __nm_ prefix rather than the subsequent symbol name. This does fail on 64bit Windows targets, because there is no leading underscore with

[patch #9349] libtool.m4: For MS dumpbin drop CR first.

2019-10-09 Thread Michael Haubenwallner
Follow-up Comment #1, patch #9349 (project libtool): This patch still is necessary when using Cygwin as build environment to use MSVC cl.exe (or similar, e.g. icc.exe), which uses dumpbin instead of nm. After setting environment variables to locate MSVC 2010, the configure options used are: > ./co