8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 14:03:07 +01:00

Fixed CORE-3397: Unresolved symbols in intl and trace libraries

This commit is contained in:
alexpeshkoff 2011-03-18 17:48:20 +00:00
parent ebdc940b01
commit 7761fcd22f

View File

@ -81,9 +81,15 @@ void ModuleLoader::doctorModuleExtension(Firebird::PathName& name)
}
}
#ifdef DEV_BUILD
#define FB_RTLD_MODE RTLD_NOW // make sure nothing left unresolved
#else
#define FB_RTLD_MODE RTLD_LAZY // save time when loading library
#endif
ModuleLoader::Module* ModuleLoader::loadModule(const Firebird::PathName& modPath)
{
void* module = dlopen(modPath.nullStr(), RTLD_LAZY);
void* module = dlopen(modPath.nullStr(), FB_RTLD_MODE);
if (module == NULL)
{
#ifdef DEV_BUILD