mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Fixed CORE-3397: Unresolved symbols in intl and trace libraries
This commit is contained in:
parent
ebdc940b01
commit
7761fcd22f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user