summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.c b/plugin.c
index 70d2c56..532fa15 100644
--- a/plugin.c
+++ b/plugin.c
@@ -412,7 +412,7 @@ rpc_plugin_register_library(struct ubus_context *ctx, const char *path)
struct rpc_plugin *p;
void *dlh;
- dlh = dlopen(path, RTLD_LAZY | RTLD_GLOBAL);
+ dlh = dlopen(path, RTLD_LAZY | RTLD_LOCAL);
if (!dlh)
return UBUS_STATUS_UNKNOWN_ERROR;