So I have this case: An application that can load libraries at runtime (plugins). Plugins reside in a different directory than the application directory. Some plugins have dependent dlls found only in the plugin directory. Wine fails to load the dependent dlls. I can copy the dependent dlls into the application directory and the plugins load successfully.
I traced the execution into ntdll/loader.c : load_native_dll load_path included the the application directory and some system paths. name is the full path of the library to load. The call to fixup_imports fails. Should the path to the library be added to load_path in load_native_dll? Or is there another appropriate way to fix this?
Thanks, Clint