Merge branch 'feature/osx-lib-4993' into next

Fixes #4993
This commit is contained in:
Gunnar Beutner 2013-11-04 07:50:20 +01:00
commit e5cb093d12

View File

@ -251,9 +251,11 @@ void *
Utility::LoadExtensionLibrary(const String& library)
{
String path;
#ifdef _WIN32
#if defined(_WIN32)
path = library + ".dll";
#else /* _WIN32 */
#elif defined(__APPLE__)
path = "lib" + library + ".dylib";
#else /* __APPLE__ */
path = "lib" + library + ".so";
#endif /* _WIN32 */