load IMCs and IMVs with RTLD_LAZY

This commit is contained in:
Andreas Steffen
2010-11-16 22:14:20 +01:00
parent ad7e3b1d1e
commit c957aaa411
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ imc_t* tnc_imc_create(char *name, char *path)
.path = path,
);
this->handle = dlopen(path, RTLD_NOW);
this->handle = dlopen(path, RTLD_LAZY);
if (!this->handle)
{
DBG1(DBG_TNC, "IMC \"%s\" failed to load: %s", name, dlerror());
+1 -1
View File
@@ -158,7 +158,7 @@ imv_t* tnc_imv_create(char *name, char *path)
.path = path,
);
this->handle = dlopen(path, RTLD_NOW);
this->handle = dlopen(path, RTLD_LAZY);
if (!this->handle)
{
DBG1(DBG_TNC, "IMV \"%s\" failed to load: %s", name, dlerror());