Use RTLD_LAZY instead of RTLD_NOW; was using RTLD_NOW as a debugging aid.

This commit is contained in:
Todd C. Miller
2010-07-02 16:03:21 -04:00
parent 7e91ebff14
commit 17dbb33e57
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ group_plugin_load(char *plugin_info)
}
/* Open plugin and map in symbol. */
group_handle = dlopen(path, RTLD_NOW);
group_handle = dlopen(path, RTLD_LAZY);
if (!group_handle) {
warningx("unable to dlopen %s: %s", path, dlerror());
return -1;