mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-15 06:49:57 +08:00
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.
This commit is contained in:
parent
2fe3a3e2a9
commit
001ca1d070
@ -1491,7 +1491,13 @@ Allow symbols from @var{output-file} to be resolved with @code{dlsym}
|
|||||||
@item -export-symbols @var{symfile}
|
@item -export-symbols @var{symfile}
|
||||||
Tells the linker to export only the symbols listed in @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
|
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.
|
By default all symbols are exported.
|
||||||
|
|
||||||
@item -export-symbols-regex @var{regex}
|
@item -export-symbols-regex @var{regex}
|
||||||
|
Loading…
Reference in New Issue
Block a user