‑‑so_export_all
In this section:
Syntax
‑‑so_export_all
Description
This is a linker option.
By default, symbols in the shared object are not exported. Use this option to export all symbols with default or protected visibility. (The linker option --so_export and the so_export linker directive export individual symbols.)
Symbols with hidden or internal visibility can only be exported using the --so_export option.
Symbols exported using --so_export_all are always kept by the linker, even if they are unreferenced.
Note
The dynamic linker processes the exported symbols, so every exported symbol increases the size of the shared object.
See also
‑‑so_export, Shared objects (32-bit mode only) , and so_export directive.
Caution
To set this option, use Project>Options>Linker>Extra Options.