Fixed: #1080 cmake MODULE compiles to *.so, adjusted dynloadlib accordingly

This commit is contained in:
rti 2010-08-28 17:33:44 +02:00
parent 9f43646d77
commit 4fba7a7ee0

View file

@ -67,9 +67,6 @@ 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");