]> git.ipfire.org Git - thirdparty/libtool.git/commit
MSVC doesn't support the -l option.
authorPeter Rosin <peda@lysator.liu.se>
Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Tue, 13 Jan 2009 09:03:58 +0000 (10:03 +0100)
commit452faf96f7b06e9eccee01553d95c45080d1cc29
treef12a6bb66aa255da7479dfba8e5ea605018bdafa
parentabfb96f4c44b3e38fcf960c876e17fc252e9712c
MSVC doesn't support the -l option.

MSVC doesn't support the -l option, instead it expects the exact
library file name. Retain the -l option as long as possible as
libtool recognizes -l internally. Then, as late as possible
transform the -l option to an exact file name (-lfoo ->
foo.lib).
* libltdl/m4/libtool.m4: Add tag variable dashl_xform which
specifies how to transform -l options for the linker.
* libltdl/config/ltmain.m4sh (func_mode_link): Transform -l
options using dashl_xform right before creating the
program or library.
ChangeLog
libltdl/config/ltmain.m4sh
libltdl/m4/libtool.m4