summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno')
-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());