From c957aaa4110c4b8f2276a549f13c0ecd6e9277db Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 16 Nov 2010 22:14:20 +0100 Subject: load IMCs and IMVs with RTLD_LAZY --- src/libcharon/plugins/tnc_imv/tnc_imv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcharon/plugins/tnc_imv/tnc_imv.c') 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()); -- cgit v1.2.3