[vlc-commits] win32: specific: Include system32 to our dll search path.
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jul 5 14:12:42 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul 5 12:02:52 2016 +0200| [2ec72a2a45b528c85dca958271f002b9fabfd98b] | committer: Hugo Beauzée-Luyssen
win32: specific: Include system32 to our dll search path.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ec72a2a45b528c85dca958271f002b9fabfd98b
---
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 ca42094..376d672 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;
}
#endif
}
More information about the vlc-commits
mailing list