You copied the Doc URL to your clipboard.

--search_dynamic_libraries, --no_search_dynamic_libraries

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


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 specified with --library:

  • libraries following --search_dynamic_libraries use the dynamic version, .so

  • libraries following --no_search_dynamic_libraries use the static version, .a.


The default is --search_dynamic_libraries.

See also