From d517328a5f35c24404a37ceb0bc343ac459f09d1 Mon Sep 17 00:00:00 2001 From: bugmaster Date: Wed, 16 Jun 2021 13:06:44 +0300 Subject: [PATCH] Adding __APPLE_ definition for libraries --- tools/TInspectorAPI/TInspectorAPI_Communicator.cxx | 3 +++ 1 file changed, 3 insertions(+) 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"; -- 2.39.5