Kaydet (Commit) 094978d4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No need for RTLD_NOW here

...it was like that "since the beginning," but for no apparent reason.

Change-Id: Ic293739b5cd5de0bfe9e2580a0755af64202e582
üst cf49e8b8
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment