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 authentification level.

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

Submitted by:  Peter Rosin <pekberg>
Submitted on:  Tue 04 Mar 2008 09:52:15 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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.

  • Makefile.am: Pass AR, AR_FLAGS and AR_SEP through to the

testsuite.

  • tests/archive-in-archive.at: Extract archive name from the .la

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

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

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

Peter Rosin <pekberg>
Project Member

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bjeverts (Updated the item)
  • -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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 May 2009 03:48:05 PM UTCbjevertsAttached File-=>Added lib-as-archiver.patch, #18112
    Tue 04 Mar 2008 10:06:37 AM UTCpekbergSummaryAllow Microsoft lib to be used as the archiver.=>[MSVC 1/7] Allow Microsoft lib to be used as the archiver.
    Tue 04 Mar 2008 09:52:15 AM UTCpekbergAttached File-=>Added lib-as-archiver.patch, #15170

    Back to the top


    Powered by Savane 3.1-cleanup