On 9/18/21 6:10 AM, Jacek Caban wrote:
Hi Zebediah,
On 9/18/21 12:44 AM, Zebediah Figura wrote:
These require libntdll.def to exist, otherwise -lntdll is not correctly detected as a DLL with an associated Unix library by winegcc, and is instead treated as a system dependency.
We could change winegcc to not depend on .def file existence instead. How about something like the attached (barely tested) patch?
That seems to work, at least for the cases I tested.
I notice the patch removes the case that results in -l%s, but I don't see how that case can be reached in such a way that -l%s is the right option. What am I missing?