URL: <http://savannah.gnu.org/patch/?6446>
Summary: MSVC [5/7] MSVC doesn't support the -l option, instead it expects the exact library file name Project: GNU Libtool Submitted by: pekberg Submitted on: Tuesday 03/04/2008 at 11:01 Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: 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). This patch is against Libtool 2.2 * 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. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tuesday 03/04/2008 at 11:01 Name: dashl-xform.patch Size: 2kB By: pekberg <http://savannah.gnu.org/patch/download.php?file_id=15174> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?6446> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/