https://bugs.winehq.org/show_bug.cgi?id=48700
--- Comment #13 from mo78@abv.bg --- The error is always:
../../dlls/winecrt0/libwinecrt0.a ../../libs/port/libwine_port.a -lpthread -lunwind /usr/bin/ld: heap.o: in function `RtlFreeHeap': /home/mozo/wine64/dlls/ntdll/../../../wine-git/dlls/ntdll/heap.c:1783: undefined reference to `leave_critical_section' collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc failed make[1]: *** [Makefile:1222: ntdll.dll.so] Error 2 make[1]: Leaving directory '/home/mozo/wine64/dlls/ntdll' make: *** [Makefile:8831: dlls/ntdll] Error 2