I was thinking about Wine distributions like CrossOver or Proton, where they might want to ship a prebuilt FFmpeg with the patented decoders removed, while still supporting to load the system provided FFmpeg version where extra codecs would be found. The system provided FFmpeg version being unknown until execution time. Does WINEDLLPATH allow to dynamically fallback and retry other directories in the path, if a module is found in one but fails to load from there (for instance before dynamic loader doesn't find the right library version when loading the unixlib)? Then it still doesn't seem convenient to configure Wine build directories for every target version (times two if you want 32bit and 64bit), just to build the winedmo module for different FFmpeg versions. In comparison the amount of effort to achieve the same thing, as done in this MR, is much lower. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9913#note_127930