diff --git a/tools/TInspectorAPI/TInspectorAPI_Communicator.cxx b/tools/TInspectorAPI/TInspectorAPI_Communicator.cxx index 877f6ee86f..77babd24d8 100644 --- a/tools/TInspectorAPI/TInspectorAPI_Communicator.cxx +++ b/tools/TInspectorAPI/TInspectorAPI_Communicator.cxx @@ -39,6 +39,9 @@ TInspectorAPI_Communicator* TInspectorAPI_Communicator::LoadPluginLibrary TCollection_AsciiString aPluginLibraryName = thePluginName; #ifdef _WIN32 aPluginLibraryName += ".dll"; +#elif __APPLE__ + aPluginLibraryName.Prepend ("lib"); + aPluginLibraryName += ".dylib"; #else aPluginLibraryName.Prepend ("lib"); aPluginLibraryName += ".so";