mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-23 02:11:14 +08:00
configure: Recognize uname "Windows_NT" as using an .exe suffix
Busybox-w32 [1] works for building ffmpeg on Windows (as an alternative to msys2, cygwin or WSL). On busybox-w32, "uname" returns "Windows_NT"; recognize this in exesuf() as having an .exe suffix. If building in this environment with a mingw toolchain, one has to explicitly set --target-os=mingw32. (We probably don't want to imply that this uname, set as target_os_default, would default to mingw?) But despite what is set with --target-os, one can't override the configure variable "host_os", which exesuf() has to recognize. [1] https://github.com/rmyorston/busybox-w32
This commit is contained in:
Reference in New Issue
Block a user