Prevents linking with shared libraries.
IA-32, Intel® 64, IA-64 architectures
Linux: | -static |
Mac OS X: | None |
Windows: | /static |
None
static |
The compiler does not link with shared libraries. |
This option prevents linking with shared libraries. It causes the executable to link all libraries statically.
None