https://bugs.winehq.org/show_bug.cgi?id=54940
--- Comment #2 from RĂ©mi Bernon rbernon@codeweavers.com --- I don't see what we can do about it, we need separate objects so that only the used symbols are pulled in and there doesn't seem to be a way to assemble multiple files into separate objects in one invocation.
It also doesn't look realistic to write the archive directly, delay imports use small thunks and we would have to hardcode their binary form, which doesn't look very appealing.
If the time it takes really is an issue, I can only suggest to switch to a more compatible toolchain, like LLVM, or maybe use its linker instead of GNU ld, but I don't think import libs are rebuilt so often.