Commit d141214e authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

core: win32: load dependent libraries in modules from System32 only

The modules are always loaded with an absolute path. So we should not
need anything else to load modules properly with their system libraries.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1e780487
......@@ -69,8 +69,7 @@ void system_Init(void)
if (GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")),
"SetDefaultDllDirectories") != NULL)
# endif /* FIXME: not reentrant */
LoadLibraryFlags = LOAD_LIBRARY_SEARCH_APPLICATION_DIR |
LOAD_LIBRARY_SEARCH_SYSTEM32;
LoadLibraryFlags = LOAD_LIBRARY_SEARCH_SYSTEM32;
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment