mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
commit
e5cb093d12
@ -251,9 +251,11 @@ void *
|
|||||||
Utility::LoadExtensionLibrary(const String& library)
|
Utility::LoadExtensionLibrary(const String& library)
|
||||||
{
|
{
|
||||||
String path;
|
String path;
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32)
|
||||||
path = library + ".dll";
|
path = library + ".dll";
|
||||||
#else /* _WIN32 */
|
#elif defined(__APPLE__)
|
||||||
|
path = "lib" + library + ".dylib";
|
||||||
|
#else /* __APPLE__ */
|
||||||
path = "lib" + library + ".so";
|
path = "lib" + library + ".so";
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user