projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3675d40
)
Load plugins with RTLD_GLOBAL, fixes Lua library exports
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 18 Mar 2013 14:35:08 +0000
(15:35 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 18 Mar 2013 14:36:05 +0000
(15:36 +0100)
plugin.c
patch
|
blob
|
history
diff --git
a/plugin.c
b/plugin.c
index 4315da269c5c6ddcd0126d79645f64843a490627..b84236c7a0cdb8b85daa6282ebf62684be359319 100644
(file)
--- 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_
LOC
AL);
+ dlh = dlopen(name, RTLD_LAZY | RTLD_
GLOB
AL);
if (!dlh) {
fprintf(stderr, "Could not open plugin %s: %s\n", name, dlerror());
return -ENOENT;