summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2010-08-13 13:11:54 +0200
committerPeter Rosin <peda@lysator.liu.se>2010-08-13 13:11:54 +0200
commit66ce911b33bb43c2079dd701aa099df709387f48 (patch)
tree49031203e252d99e66948f53b7285db984e942a2 /doc
parent9b4ec3cd97aa37c6764d48933267792c9947b5ba (diff)
downloadlibtool-66ce911b33bb43c2079dd701aa099df709387f48.tar.gz
Allow the use of a listing file if the archiver supports it.
* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Move detection of a suitable archiver... (_LT_PROG_AR): ...to here. New macro, also detect if the archiver supports a listing file with the new variable archiver_list_spec. * libltdl/config/ltmain.m4sh: If the archiver supports a listing file, use it when max_cmd_len is exceeded. This is needed for tool chains such as MSVC which do not support piece by piece linking (-r -o). * doc/libtool.texi (libtool script contents): Update with archiver_list_spec description. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Diffstat (limited to 'doc')
-rw-r--r--doc/libtool.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 914bd1d8..606b232e 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -5875,6 +5875,10 @@ Commands used to create shared libraries, shared libraries with
@option{-export-symbols} and static libraries, respectively.
@end defvar
+@defvar archiver_list_spec
+Specify filename containing input files for @code{AR}.
+@end defvar
+
@defvar old_archive_from_new_cmds
If the shared library depends on a static library,
@samp{old_archive_from_new_cmds} contains the commands used to create that