Den 2009-01-13 10:48 skrev Peter Rosin:
Den 2009-01-13 10:39 skrev Peter Rosin:
libtool-ar.patch
http://lists.gnu.org/archive/html/libtool-patches/2008-09/msg00003.html
No ChangeLog entry written yet.
Sorry 'bout that...
Here's an incremental update that makes the "Link option thorough
search test" proceed a bit further for MSYS/MSVC.
Basically it makes libtool itself use the new --mode=ar to create
archives if the archiver is odd (i.e. MS lib.exe). --mode=ar is
then extended to translate the path of the archive to host native
format which makes it possible to create archives with absolute
pathnames.
(Fails w/o this patch since MSYS doesn't convert pathnames in
arguments if they are prefixed the wrong way. In this case lib.exe
is called with "lib -out:/absolute/archive/name.lib" as MSYS does
not recognize that it has to convert /absolute/archive/name.lib to
a win32 path for lib.exe to understand it).
Cheers,
Peter