106b87a4d2
Build the Windows binary from mingw on Linux, using the official prebuilt binaries for ffmpeg, SDL2 and adb. MSYS2 and all its packaged dll are not necessary anymore.
20 lines
525 B
Text
20 lines
525 B
Text
# apt install mingw-w64 mingw-w64-tools
|
|
|
|
[binaries]
|
|
name = 'mingw'
|
|
c = '/usr/bin/x86_64-w64-mingw32-gcc'
|
|
cpp = '/usr/bin/x86_64-w64-mingw32-g++'
|
|
ar = '/usr/bin/x86_64-w64-mingw32-ar'
|
|
strip = '/usr/bin/x86_64-w64-mingw32-strip'
|
|
pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
|
|
|
|
[host_machine]
|
|
system = 'windows'
|
|
cpu_family = 'x86'
|
|
cpu = 'x86_64'
|
|
endian = 'little'
|
|
|
|
[properties]
|
|
prebuilt_ffmpeg_shared = 'ffmpeg-4.0-win64-shared'
|
|
prebuilt_ffmpeg_dev = 'ffmpeg-4.0-win64-dev'
|
|
prebuilt_sdl2 = 'SDL2-2.0.8/x86_64-w64-mingw32'
|