X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=blobdiff_plain;f=plugin.c;h=b84236c7a0cdb8b85daa6282ebf62684be359319;hp=4315da269c5c6ddcd0126d79645f64843a490627;hb=b965b8cc10f094ec0408d57b1bc9aeee0bca501c;hpb=bd273366d92472c9af07bf227c3c2bbd530b25f6 diff --git a/plugin.c b/plugin.c index 4315da2..b84236c 100644 --- a/plugin.c +++ b/plugin.c @@ -43,7 +43,7 @@ int uh_plugin_init(const char *name) const char *sym; void *dlh; - dlh = dlopen(name, RTLD_LAZY | RTLD_LOCAL); + dlh = dlopen(name, RTLD_LAZY | RTLD_GLOBAL); if (!dlh) { fprintf(stderr, "Could not open plugin %s: %s\n", name, dlerror()); return -ENOENT;