Blame libstrongswan-plugin.patch
|
Avesh Agarwal |
710e5ac |
diff -urNp strongswan-5.1.1-patched/src/libstrongswan/plugins/plugin_loader.c strongswan-5.1.1-current/src/libstrongswan/plugins/plugin_loader.c
|
|
Avesh Agarwal |
710e5ac |
--- strongswan-5.1.1-patched/src/libstrongswan/plugins/plugin_loader.c 2013-11-01 13:12:06.046927153 -0400
|
|
Avesh Agarwal |
710e5ac |
+++ strongswan-5.1.1-current/src/libstrongswan/plugins/plugin_loader.c 2013-11-01 13:16:59.680916657 -0400
|
|
Avesh Agarwal |
80bb1ce |
@@ -353,7 +353,7 @@ static plugin_entry_t *load_plugin(priva
|
|
Avesh Agarwal |
80bb1ce |
return NULL;
|
|
Avesh Agarwal |
44d903a |
}
|
|
Avesh Agarwal |
44d903a |
}
|
|
Avesh Agarwal |
44d903a |
- handle = dlopen(file, RTLD_LAZY);
|
|
Avesh Agarwal |
44d903a |
+ handle = dlopen(file, RTLD_NOW|RTLD_GLOBAL);
|
|
Avesh Agarwal |
44d903a |
if (handle == NULL)
|
|
Avesh Agarwal |
44d903a |
{
|
|
Avesh Agarwal |
44d903a |
DBG1(DBG_LIB, "plugin '%s' failed to load: %s", name, dlerror());
|