http://bugs.winehq.org/show_bug.cgi?id=33311
Bug #: 33311 Summary: Loading of libraries intended to be delay loaded for a built-in module actually is not delayed Product: Wine Version: 1.5.27 Platform: x86-64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: dmitry@baikal.ru Classification: Unclassified
If a DLL is listed in DELAYIMPORTS statement in Makefile.in of built-in Wine module (under /dlls or /programs) this actually doesn't mean that its loading is going to be really delayed, that DLL will be loaded together with other module imports.
A part of the problem is that modules listed in DELAYIMPORTS are passed in the same list with other modules lised in IMPORTS to winegcc. This means that winegcc passes them along as not delay loaded modules to other helper tools.