diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-05-08 20:13:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-05-08 20:16:44 +0200 |
commit | 094978d48db63b61f62f9b82c0af275769e2519e (patch) | |
tree | 3c6eacab9e697b1bbb440b4e62842f6051d09206 | |
parent | cf49e8b816ee3391b5deba487d1abf77b7dfeaab (diff) |
No need for RTLD_NOW here
...it was like that "since the beginning," but for no apparent reason.
Change-Id: Ic293739b5cd5de0bfe9e2580a0755af64202e582
-rw-r--r-- | pyuno/source/module/pyuno_dlopenwrapper.c | 2 |
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()); |