Commit 8edb7668 authored by Simon Marlow's avatar Simon Marlow
Browse files

use RTLD_LAZY instead of RTLD_NOW

RTLD_NOW apparently causes some problems, according to previous
mailing-list discussion
parent 8bd0e4bc
......@@ -1019,7 +1019,9 @@ addDLL( char *dll_name )
hdl= dlopen(dll_name, RTLD_NOW | RTLD_GLOBAL);
// omitted: RTLD_NOW
// see
hdl= dlopen(dll_name, RTLD_LAZY | RTLD_GLOBAL);
if (hdl == NULL) {
/* dlopen failed; return a ptr to the error msg. */
Supports Markdown
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