Function boost_plugin_loader::addSymbolLibraryToSearchLibrariesEnv

Function Documentation

void boost_plugin_loader::addSymbolLibraryToSearchLibrariesEnv(const void *symbol_ptr, const std::string &search_libraries_env)

Utility function to add library containing symbol to the search env variable.

  • In some cases the name and location of a library is unknown at runtime, but a symbol can be linked at compile time. This is true for Python auditwheel distributions. This utility function will determine the location of the library, and add it to the library search environment variable so it can be found.

Parameters:
  • symbol_ptr – Pointer to the symbol to find

  • search_libraries_env – The environmental variable to modify