The Gaudi Framework  v29r0 (ff2e7097)
DsoUtils Namespace Reference

Functions

std::string libNativeName (const std::string &libName)
 

Function Documentation

std::string DsoUtils::libNativeName ( const std::string libName)
inline

Definition at line 19 of file DsoUtils.h.

20  {
21 #if defined( _WIN32 )
22  return libName + ".dll";
23 #elif defined( __linux ) || defined( __APPLE__ )
24  return "lib" + libName + ".so";
25 #else
26  // variant of the GIGO design pattern
27  return libName;
28 #endif
29  }