[vlc-commits] win32: specific: Include system32 to our dll search path.
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jul 5 14:14:02 CEST 2016
vlc/vlc-2.2 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul 5 12:02:52 2016 +0200| [bc577284e6496b50f8984d4defaa0fb074854731] | committer: Hugo Beauzée-Luyssen
win32: specific: Include system32 to our dll search path.
(cherry picked from commit 2ec72a2a45b528c85dca958271f002b9fabfd98b)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=bc577284e6496b50f8984d4defaa0fb074854731
---
src/win32/specific.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/win32/specific.c b/src/win32/specific.c
index fd1a21d..503ca27 100644
--- a/src/win32/specific.c
+++ b/src/win32/specific.c
@@ -70,7 +70,8 @@ void system_Init(void)
if( pf_SetDefDllDir ) {
pf_SetDefDllDir( LOAD_LIBRARY_SEARCH_SYSTEM32 );
LoadLibraryFlags = LOAD_LIBRARY_SEARCH_APPLICATION_DIR |
- LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR;
+ LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR |
+ LOAD_LIBRARY_SEARCH_SYSTEM32;
}
#else
LoadLibraryFlags = LOAD_LIBRARY_SEARCH_APPLICATION_DIR |
More information about the vlc-commits
mailing list