libtool-patches
[Top][All Lists]
Advanced

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

Libtool: Microsoft lib as archiver


From: Peter Ekberg
Subject: Libtool: Microsoft lib as archiver
Date: Tue, 16 Aug 2005 00:46:04 +0200

Hi!

Here's a new attempt at support for Microsoft lib (or link) as
archiver.

2005-08-15  Peter Ekberg  <address@hidden>

        * Makefile.am: Export user selection of archiver to the
        testsuite.
        * config/ltmain.m4sh (func_extract_an_archive): Handle case
        where the archiver must extract members one by one.
        * m4/libtool.m4 (_LT_PROG_AR): New macro that looks for
        Microsoft lib.exe and Microsoft link.exe after failing to find
        ar. Then checks what interface the archiver expects.
        _LT_DECL of ar_extract_one_by_one, AR_OFLAGS, AR_TFLAGS,
        AR_XFLAGS and AR_EFLAGS.
        (_LT_CMD_OLD_ARCHIVE): Make use of _LT_PROG_AR, and move some
        of the functionallity to that macro.
        (_LT_CMD_OLD_ARCHIVE, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
        Support archivers that do not like a space between $AR_FLAGS
        and the library name, use $AR_OFLAGS instead in that case.

Cheers,
Peter

Attachment: head-lib-as-archiver.patch
Description: head-lib-as-archiver.patch


reply via email to

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