diff options
-rw-r--r-- | src/libcharon/plugins/tnc_imc/tnc_imc.c | 2 | ||||
-rw-r--r-- | src/libcharon/plugins/tnc_imv/tnc_imv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/tnc_imc/tnc_imc.c b/src/libcharon/plugins/tnc_imc/tnc_imc.c index fa5e2e499..174084436 100644 --- a/src/libcharon/plugins/tnc_imc/tnc_imc.c +++ b/src/libcharon/plugins/tnc_imc/tnc_imc.c @@ -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()); diff --git a/src/libcharon/plugins/tnc_imv/tnc_imv.c b/src/libcharon/plugins/tnc_imv/tnc_imv.c index 29161f513..42d2ab064 100644 --- a/src/libcharon/plugins/tnc_imv/tnc_imv.c +++ b/src/libcharon/plugins/tnc_imv/tnc_imv.c @@ -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()); |