widl: Try to append .tlb extension to importib file name if it can't be found without it.

Jacek Caban jacek at codeweavers.com
Thu Jun 15 12:37:01 CDT 2017


That's for cases like importlib("oleacc.dll"). MIDL can import them from
system DLLs, but for widl, we currently need oleacc.dll file in include
directory. Since it is at least confusing to have a file named
oleacc.dll between includes, this patch allows providing oleacc.dll.tlb
file instead.

It's not an issue for Wine yet as we currently only use importlib for
stdole2.tlb, but we may need it at some point. In my case, Gecko needs
oleacc.dll, which has to be provided by mingw-w64.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
 tools/widl/typelib.c | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-widl-Try-to-append-.tlb-extension-to-importib-file-na.diff
Type: text/x-patch
Size: 1591 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170615/89123656/attachment.bin>


More information about the wine-patches mailing list