Hi,
building current FFmpeg breaks on MSYS2 MINGW64
(http://sourceforge.net/projects/msys2/) with error "Unknown OS
'mingw64_nt-6.0'." from "configure".
Probably "mingw64_nt-6.0" results from "uname -s" on MSYS2 MINGW64:
$ uname -s
MINGW64_NT-6.0
The attached patch seems to fix it.
Regards, Peter
diff -rc ./a/ffmpeg/configure ./b/ffmpeg/configure
*** ./a/ffmpeg/configure Fri Sep 11 19:20:03 2015
--- ./b/ffmpeg/configure Sat Sep 12 10:16:52 2015
***************
*** 3297,3303 ****
exesuf() {
case $1 in
! mingw32*|win32|win64|cygwin*|*-dos|freedos|opendos|os/2*|symbian)
echo .exe ;;
esac
}
--- 3297,3303 ----
exesuf() {
case $1 in
!
mingw32*|mingw64*|win32|win64|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo
.exe ;;
esac
}
***************
*** 4342,4348 ****
enabled_any pic shared x86_64 ||
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
;;
! mingw32*)
if test $target_os = "mingw32ce"; then
disable network
else
--- 4342,4348 ----
enabled_any pic shared x86_64 ||
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
;;
! mingw32*|mingw64*)
if test $target_os = "mingw32ce"; then
disable network
else
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel