diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-09-07 05:56:31 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-09-07 05:56:31 +0000 |
commit | 4bdf28108fc4cc9fd9b0c50b25e6bc8ad18a6975 (patch) | |
tree | 99c71138e9f8d8ced3caef47c876bcadec15ae71 /byterun/unix.c | |
parent | 4002f22cdd8da7c91ed65aa133dbe9f7293d6f1e (diff) |
avoid problem with dlsym/failwith and keep thread linking info
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/unix.c')
-rw-r--r-- | byterun/unix.c | 2 |
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) |