patchGNU Libtool - Patches: patch #6446, MSVC [5/7] MSVC doesn't support...


You are not allowed to post comments on this tracker with your current authentication level.

patch #6446: MSVC [5/7] MSVC doesn't support the -l option, instead it expects the exact library file name

Submitted by:  Peter Rosin <pekberg>
Submitted on:  Tue 04 Mar 2008 10:01:49 AM UTC  
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Tue 04 Mar 2008 10:01:49 AM UTC, original submission:

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.

Peter Rosin <pekberg>
Project Member


Attached Files
file #15174:  dashl-xform.patch added by pekberg (2KiB - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bjeverts
  • -unavailable- added by pekberg (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 May 2009 03:51:24 PM UTCbjevertsCarbon-Copy-=>Added bjeverts
    Tue 04 Mar 2008 10:01:49 AM UTCpekbergAttached File-=>Added dashl-xform.patch, #15174

    Back to the top

    Powered by Savane 3.1-cleanup1