Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Windows: make uv_dlopen() look in the DLL path to resolve recursive d…
Browse files Browse the repository at this point in the history
…ependencies
  • Loading branch information
piscisaureus committed Apr 12, 2012
1 parent 9984d15 commit 62a63a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/dl.c
Expand Up @@ -35,7 +35,7 @@ uv_err_t uv_dlopen(const char* filename, uv_lib_t* library) {
return uv__new_sys_error(saved_errno);
}

handle = LoadLibraryW(filename_w);
handle = LoadLibraryExW(filename_w, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
if (handle == NULL) {
saved_errno = GetLastError();
return uv__new_sys_error(saved_errno);
Expand Down

0 comments on commit 62a63a3

Please sign in to comment.