mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
f5dfc264ba
MinGW seems to decide at random whether it wants to use memcpy from mscvrt.dll or ntdll.dll. Currently, on Debian buster, ntdll.dll is chosen, while on sid, mscvrt.dll is chosen. This commit declares a new .def file for ntdll containing only the functions we want to link from ntdll.dll, and generates ntdll.a from it with dlltool. This way, MinGW will never be tempted to link functions like memcpy from ntdll.dll. |
||
---|---|---|
.. | ||
cmake | ||
include/interface | ||
platform | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
toolchain-mingw64.cmake |