You copied the Doc URL to your clipboard.

--search_dynamic_libraries, --no_search_dynamic_libraries

Controls whether or not dynamic or static libraries are used for libraries specified with the --library option.

Usage

The --search_dynamic_libraries setting applies to any following --library options until a --no_search_dynamic_libraries option appears on the command line:

  • For libraries following --search_dynamic_libraries the linker searches first for any .so libraries, and if none are found then searches for .a libraries.

  • For libraries following --no_search_dynamic_libraries, the linker searches for.a static libraries.

Default

The default is --search_dynamic_libraries.

Was this page helpful? Yes No