summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2010-09-07 07:04:49 +0200
committerPeter Rosin <peda@lysator.liu.se>2010-09-07 07:04:49 +0200
commit25d44a7ae02548f1cc834e5a251fa3611643cf7d (patch)
treeb8273571a34b8522ff6a23625b78e48558d24949 /doc
parentd243a1ec536d9e154c6dfca271352fe991d854c2 (diff)
downloadlibtool-25d44a7ae02548f1cc834e5a251fa3611643cf7d.tar.gz
Convert POSIX file names to toolchain format for MSVC
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [cygwin, mingw, pw32, cegcc] <cl*, postlink_cmds>: Make sure the -outputresource: file name for the manifest tool is in w32 format. <cl*, archive_expsym_cmds>: Likewise for the MSVC command file containing the exports and the output file name. * libltdl/config/ltmain.m4sh (func_mode_link): Precalculate the toolchain format of the output_objdir file name and store it in the tool_output_objdir variable. Also replace any occurrence of @TOOL_OUTPUT@ in postlink_cmds with the toolchain version of the @OUTPUT@ content. * doc/libtool.texi (libtool script content): Update description of postlink_cmds to mention @TOOL_OUTPUT@. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Diffstat (limited to 'doc')
-rw-r--r--doc/libtool.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 5a76e26d..7d7eb76b 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -6747,11 +6747,12 @@ Commands run after uninstalling a shared or static library, respectively.
@defvar postlink_cmds
Commands necessary for finishing linking programs. @code{postlink_cmds}
-are executed immediately after the program is linked. Any occurance of
+are executed immediately after the program is linked. Any occurrence of
the string @code{@@OUTPUT@@} in @code{postlink_cmds} is replaced by the
-name of the created executable (i.e. not the wrapper, if a wrapper is
-generated) prior to execution. Normally disabled (i.e.
-@code{postlink_cmds} empty).
+name of the created executable (i.e.@: not the wrapper, if a wrapper is
+generated) prior to execution. Similarly, @code{@@TOOL_OUTPUT@@} is
+replaced by the toolchain format of @{@@OUTPUT@@}. Normally disabled
+(i.e.@: @code{postlink_cmds} empty).
@end defvar
@defvar reload_cmds