summaryrefslogtreecommitdiff
path: root/src/plugin.c
diff options
context:
space:
mode:
authorKrzysztof Krzyżaniak <eloy@debian.org>2006-10-10 08:29:38 +0000
committerKrzysztof Krzyżaniak <eloy@debian.org>2006-10-10 08:29:38 +0000
commite680360fa278059e1b6a3e5d21aa691e3408a9b6 (patch)
treef3071f853da4a3085b0dd1694e945a8dab6023ba /src/plugin.c
parente4c4e8f27b87db4084df3a3ee4f69f11f1b421af (diff)
downloadlighttpd-e680360fa278059e1b6a3e5d21aa691e3408a9b6.tar.gz
eloy: new upstream version
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 3e8147b..faf5520 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -161,7 +161,7 @@ int plugins_load(server *srv) {
}
#else
- if (NULL == (p->lib = dlopen(srv->tmp_buf->ptr, RTLD_LAZY))) {
+ if (NULL == (p->lib = dlopen(srv->tmp_buf->ptr, RTLD_NOW|RTLD_GLOBAL))) {
log_error_write(srv, __FILE__, __LINE__, "sbs", "dlopen() failed for:",
srv->tmp_buf, dlerror());