From: Jacek Caban Subject: Re: [PATCH 2/4] winegcc: Support -delayload on binutils mingw target. Message-Id: <597885fe-4899-422e-447e-7f5186676699@codeweavers.com> Date: Tue, 8 Oct 2019 19:35:11 +0200 In-Reply-To: <871rvn8vyj.fsf@wine> References: <31817399-036a-0667-4000-f26b3b6e3d5a@codeweavers.com> <871rvn8vyj.fsf@wine> On 10/8/19 10:47 AM, Alexandre Julliard wrote: > Jacek Caban writes: > >> Emulate MSVC-style delayload by creating required delay importlibs >> from .def files on demand. > That's not going to work for importlibs that contain object files. Yes, that's a limitation, but Wine doesn't seem to need it. > I also think we should be moving away from .def files, instead of > relying more on them. If we want to keep generating delay importlibs for mingw ld, we need to make it conditional on the toolchain, like: https://www.winehq.org/pipermail/wine-devel/2019-August/148966.html Would you prefer something like that? Thanks, Jacek