patchGNU Libtool - Patches: patch #6442, [MSVC 1/7] Allow Microsoft lib to...


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

patch #6442: [MSVC 1/7] Allow Microsoft lib to be used as the archiver.

Submitter:  Peter Rosin <pekberg>
Submitted:  Tue 04 Mar 2008 09:52:15 AM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Tue 04 Mar 2008 10:06:37 AM UTC, comment #1: 
  • libltdl/m4/libtool.m4 (_LT_PROG_AR): New macro, detect the

interface used by the archiver. In particullar, add the AR_SEP
variable to allow archivers that does not allow a space between
the options to create an archive and the archive name and the
ar_extract_one_by_one variable which indicates if the archiver
can extract all members in one go.

  • libltdl/m4/libtool.m4: Add $AR_SEP between $AR_FLAGS and the

archive file name in all $AR commands.

  • libltdl/config/ltmain.m4sh (func_extract_an_archive): Add support

for archivers that only supports extracting one member at a time
and otherwise adjust to the above libtool.m4 changes. Also, add
$AR_SEP to the $AR invocations.

  • Pass AR, AR_FLAGS and AR_SEP through to the


  • tests/ Extract archive name from the .la

file instead of hardcodeing the name, and allow different archivers.

Peter Rosin <pekberg>
Group Member
Tue 04 Mar 2008 09:52:15 AM UTC, original submission:  

Allow Microsoft lib to be used as the archiver. passes (unexpectedly) for Microsoft lib.
Should AR_FLAGS be ARFLAGS instead? Automake uses that...

Peter Rosin <pekberg>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18112:  lib-as-archiver.patch added by bjeverts (11KiB - text/plain - Updated patch to apply to 2.2.6a)
file #15170:  lib-as-archiver.patch added by pekberg (11KiB - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-05-07 bjeverts Attached File- Added lib-as-archiver.patch, #18112
    2008-03-04 pekberg SummaryAllow Microsoft lib to be used as the archiver. [MSVC 1/7] Allow Microsoft lib to be used as the archiver.
    2008-03-04 pekberg Attached File- Added lib-as-archiver.patch, #15170

    Back to the top

    Powered by Savane 3.13-9c15.
    Corresponding source code