Change DLL search path order for external libraries that are linked at runtime, like libcurl or libopenal to:
* system library paths * executable path * fs_basepath
This commit is contained in:
parent
ba385fa43c
commit
3752b1d7c4
6 changed files with 64 additions and 39 deletions
|
@ -579,7 +579,7 @@ vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *),
|
|||
{
|
||||
Com_Printf("Try loading dll file %s\n", filename);
|
||||
|
||||
vm->dllHandle = Sys_LoadDll(filename, &vm->entryPoint, VM_DllSyscall);
|
||||
vm->dllHandle = Sys_LoadQVMDll(filename, &vm->entryPoint, VM_DllSyscall);
|
||||
|
||||
if(vm->dllHandle)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue