summaryrefslogtreecommitdiffstats
path: root/byterun/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/unix.c')
-rw-r--r--byterun/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/unix.c b/byterun/unix.c
index 5926391b1..4f666b80b 100644
--- a/byterun/unix.c
+++ b/byterun/unix.c
@@ -155,7 +155,7 @@ char * search_dll_in_path(struct ext_table * path, char * name)
void * caml_dlopen(char * libname)
{
- return dlopen(libname, RTLD_NOW);
+ return dlopen(libname, RTLD_NOW|RTLD_GLOBAL);
}
void caml_dlclose(void * handle)