summaryrefslogtreecommitdiff
path: root/pyuno/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-08 20:13:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-08 20:16:44 +0200
commit094978d48db63b61f62f9b82c0af275769e2519e (patch)
tree3c6eacab9e697b1bbb440b4e62842f6051d09206 /pyuno/source
parentcf49e8b816ee3391b5deba487d1abf77b7dfeaab (diff)
No need for RTLD_NOW here
...it was like that "since the beginning," but for no apparent reason. Change-Id: Ic293739b5cd5de0bfe9e2580a0755af64202e582
Diffstat (limited to 'pyuno/source')
-rw-r--r--pyuno/source/module/pyuno_dlopenwrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_dlopenwrapper.c b/pyuno/source/module/pyuno_dlopenwrapper.c
index 2f9d4fc6987d..8f3f53bb6546 100644
--- a/pyuno/source/module/pyuno_dlopenwrapper.c
+++ b/pyuno/source/module/pyuno_dlopenwrapper.c
@@ -61,7 +61,7 @@ static void * load(void * address, char const * symbol) {
}
strncpy(libname, dl_info.dli_fname, len);
strcpy(libname + len, SAL_DLLPREFIX "pyuno" SAL_DLLEXTENSION);
- h = dlopen(libname, RTLD_NOW | RTLD_GLOBAL);
+ h = dlopen(libname, RTLD_LAZY | RTLD_GLOBAL);
free(libname);
if (h == NULL) {
fprintf(stderr, "failed to load pyuno: '%s'\n", dlerror());