libtool-commit
[Top][All Lists]
Advanced

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

branch development updated: Document situations where -export-symbols do


From: Ileana Dumitrescu
Subject: branch development updated: Document situations where -export-symbols does not work.
Date: Mon, 02 Sep 2024 09:58:16 -0400

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new ff39c323 Document situations where -export-symbols does not work.
ff39c323 is described below

commit ff39c3238c026b45ad027ccbf513fc44a5c5c0bd
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Mon Sep 2 11:33:27 2024 +0200

    Document situations where -export-symbols does not work.
    
    * doc/libtool.texi (Link mode): Document that -export-symbols does not work 
on
    static libraries. Document the most important platforms where it does not 
work
    on shared libraries.
---
 doc/libtool.texi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/libtool.texi b/doc/libtool.texi
index 04ab34f1..503c0fb1 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1491,7 +1491,13 @@ Allow symbols from @var{output-file} to be resolved with 
@code{dlsym}
 @item -export-symbols @var{symfile}
 Tells the linker to export only the symbols listed in @var{symfile}.
 The symbol file should end in @file{.sym} and must contain the name of one
-symbol per line.  This option has no effect on some platforms.
+symbol per line.  This option has no effect:
+@itemize @bullet
+@item
+on static libraries, and
+@item
+on shared libraries on some platforms, such as AIX and Haiku.
+@end itemize
 By default all symbols are exported.
 
 @item -export-symbols-regex @var{regex}



reply via email to

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