mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Fixed: #871 Shared Libs loading on Mac OS X (patch provided by rti)
This commit is contained in:
parent
4e6da2e59c
commit
08812b5f54
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ void *nlGetSymbolAddress(NL_LIB_HANDLE libHandle, const std::string &procName)
|
||||||
#ifdef NL_OS_WINDOWS
|
#ifdef NL_OS_WINDOWS
|
||||||
const string nlLibPrefix; // empty
|
const string nlLibPrefix; // empty
|
||||||
const string nlLibExt(".dll");
|
const string nlLibExt(".dll");
|
||||||
|
#elif defined(NL_OS_MAC)
|
||||||
|
const string nlLibPrefix("lib");
|
||||||
|
const string nlLibExt(".dylib");
|
||||||
#elif defined(NL_OS_UNIX)
|
#elif defined(NL_OS_UNIX)
|
||||||
const string nlLibPrefix("lib");
|
const string nlLibPrefix("lib");
|
||||||
const string nlLibExt(".so");
|
const string nlLibExt(".so");
|
||||||
|
|
Loading…
Reference in a new issue