Support building for Windows using MinGW compiler

- Adds docker support for building Windows binaries on Linux.
- Update libuv to version 1.44.1.
- Use MinGW compiled 64bit Windows binaries for distribution.
This commit is contained in:
Leroy Hopson 2022-06-29 20:48:12 +07:00
parent cceffd4edf
commit e4fdf70bca
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
10 changed files with 115 additions and 36 deletions

View file

@ -0,0 +1,6 @@
FROM ubuntu:latest
RUN apt-get update -y
RUN apt-get install -y cmake mingw-w64 scons
RUN apt-get install -y wget && \
wget https://gist.githubusercontent.com/peterspackman/8cf73f7f12ba270aa8192d6911972fe8/raw/9d775cdff025ab12bdffe9e9a195e306a429bb86/mingw-w64-x86_64.cmake
RUN sed 's/x86_64-w64-mingw32/i686-w64-mingw32/g' /mingw-w64-x86_64.cmake > /mingw-w64-i686.cmake