allow cross compilation (probably mostly to build from Linux for Windows). Linux users would just make PLATFORM=NT CROSS_COMPILE=x86_64-w64-mingw32- for 64bits, or make PLATFORM=NT CROSS_COMPILE=i686-w64-mingw32- for 32bits
you can also build a .dll/.lib for Win32, or .so/.a for Linux with the new libswitchres target
Needless to say you can cross compile a dll :wink:
Hi,
This PR is a 2 in 1:
make PLATFORM=NT CROSS_COMPILE=x86_64-w64-mingw32-
for 64bits, ormake PLATFORM=NT CROSS_COMPILE=i686-w64-mingw32-
for 32bitslibswitchres
targetNeedless to say you can cross compile a dll :wink: