Fixed: #871 Shared Libs loading on Mac OS X (patch provided by rti)

This commit is contained in:
kervala 2010-05-12 13:04:22 +02:00
parent 05c1f6bd2a
commit 7734507190

View file

@ -67,6 +67,9 @@ void *nlGetSymbolAddress(NL_LIB_HANDLE libHandle, const std::string &procName)
#ifdef NL_OS_WINDOWS
const string nlLibPrefix; // empty
const string nlLibExt(".dll");
#elif defined(NL_OS_MAC)
const string nlLibPrefix("lib");
const string nlLibExt(".dylib");
#elif defined(NL_OS_UNIX)
const string nlLibPrefix("lib");
const string nlLibExt(".so");