plugin-loader: Correctly read dlopen_use_rtld_now option
Fixes: 305c4aa82c ("plugin-loader: Optionally use RTLD_NOW with dlopen()")
This commit is contained in:
@@ -438,7 +438,7 @@ static plugin_entry_t *load_plugin(private_plugin_loader_t *this, char *name,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (lib->settings->get_bool(lib->settings, "%s.dlopen_use_rtld_now",
|
if (lib->settings->get_bool(lib->settings, "%s.dlopen_use_rtld_now",
|
||||||
lib->ns, FALSE))
|
FALSE, lib->ns))
|
||||||
{
|
{
|
||||||
flag = RTLD_NOW;
|
flag = RTLD_NOW;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user