‑‑so_import
Syntax
‑‑so_import symbol[,symbol,...]
Parameters
| The name of a symbol to import to the shared object. |
Description
This is a linker option.
By default, the linker generates an error if the shared object contains references to symbols that are not defined in the shared object. Use this option or the so_import linker directive to allow the specified symbols—those symbols will be declared as external in the shared object. This gives you exact control over which symbols that the shared object refers to. All external references must be specified with the ‑‑so_import option.
To make all imported symbols become external symbols in the shared object, without having to specify them one by one, do not use the ‑‑so_import option—just use the ‑‑diag_suppress or ‑‑diag_warning option to suppress the linker error or reduce it to a warning.
See also
Shared objects (32-bit mode only) and so_import directive.
Caution
To set this option, use Project>Options>Linker>Extra Options