‑‑so_internalize
Syntax
‑‑so_internalize symbol[,symbol,...]
Parameters
| The name of a symbol in the standard library to add to the shared object. |
Description
This is a linker option.
Use this option or the so_internalize linker directive for exact control over which symbols from the standard library to add to the shared object. The specified symbols will become part of the shared object. Standard library references that are not specified with this option will become external references in the shared object.
If the added symbols refer to other symbols, those symbols are not automatically added as well. They must be added in the same way if you do not want them to become external symbols.
To fulfill all references to the standard library from the shared object, use the linker option ‑‑so_internalize_stdlib instead, see ‑‑so_internalize_stdlib. The ‑‑so_internalize option allows you choose some symbols from the standard library and let others become external references. You might, for instance, want a shared object that contains a specialized version of memcpy, but are happy with any version of strlen.
See also
Shared objects (32-bit mode only) and so_internalize directive.
Caution
To set this option, use Project>Options>Linker>Extra Options