https://bugs.winehq.org/show_bug.cgi?id=49436
--- Comment #27 from Paul Gofman pgofman@codeweavers.com --- (In reply to Maciej Stanczew from comment #26)
make[1]: *** [Makefile:2089: ntdll.dll.so] Error 2
Is there any reason you are making a non-PE build? The default way of building Wine is using mingw now. I don't want to say non-PE builds are not supported, I will test what happens with a non-PE build and probably fix that. But non-PE builds receive much less testing now and some applications may not work by design with that (there are reasons why Wine is switching to PE DLLs as much as possible). Diablo 3, in particular, loads ntdll.dll from disk directly, I did not test that but I expect Diablo 3 not to work with ntdll.dll.so (that is, fake ntdll.dll on disk) even with the syscall thunks been there. The part which was previously in Staging which brought in some better fake ntdll is not there anymore, as it is solved in a better way with PE ntdll now.