diff options
Diffstat (limited to 'byterun/unix.c')
-rw-r--r-- | byterun/unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/byterun/unix.c b/byterun/unix.c index 95fecf5ea..3fee9a396 100644 --- a/byterun/unix.c +++ b/byterun/unix.c @@ -211,7 +211,8 @@ char * caml_dlerror(void) void * caml_dlopen(char * libname, int for_execution, int global) { - return dlopen(libname, RTLD_NOW | (global ? RTLD_GLOBAL : RTLD_LOCAL) | RTLD_NODELETE); + return dlopen(libname, RTLD_NOW | (global ? RTLD_GLOBAL : RTLD_LOCAL) + | RTLD_NODELETE); /* Could use RTLD_LAZY if for_execution == 0, but needs testing */ } |