-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
cglobal()
search for libjulia-internal
On Windows, we have a special list of libraries that we search for default symbol resolution. Now that we have symbols defined in `libjulia` and then imported by `libjulia-internal`, we need to make certain that we search `libjulia-internal` first (so that we find non-trampoline functions first) and then `libjulia` (so that we do in fact eventually find the symbols at all).
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,8 +33,10 @@ void *jl_get_library_(const char *f_lib, int throw_err) JL_NOTSAFEPOINT | |
#ifdef _OS_WINDOWS_ | ||
if (f_lib == JL_EXE_LIBNAME) | ||
return jl_exe_handle; | ||
if (f_lib == JL_DL_LIBNAME) | ||
return jl_dl_handle; | ||
if (f_lib == JL_LIBJULIA_INTERNAL_DL_LIBNAME) | ||
return jl_libjulia_internal_handle; | ||
if (f_lib == JL_LIBJULIA_DL_LIBNAME) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
staticfloat
Author
Member
|
||
return jl_libjulia_handle; | ||
#endif | ||
if (f_lib == NULL) | ||
return jl_RTLD_DEFAULT_handle; | ||
|
this should always compare to false