libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[1/11] Native MSVC support (lib-as-archiver)


From: Peter Rosin
Subject: [1/11] Native MSVC support (lib-as-archiver)
Date: Tue, 10 Jul 2007 23:17:11 +0200
User-agent: Mutt/1.5.12-2006-07-14

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

        * 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 and $AR_FLAGS.
        * 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.
        * Makefile.am: Pass AR, AR_FLAGS, AR_TFLAGS 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.

Attachment: lib-as-archiver.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]