You copied the Doc URL to your clipboard.

--search_dynamic_libraries, --no_search_dynamic_libraries linker option

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

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

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

Default

The default is --search_dynamic_libraries.

Was this page helpful? Yes No