[FFmpeg-devel] [PATCH] configure: support MSYS2

Hendrik Leppkes h.leppkes at gmail.com
Sun Jan 25 15:26:18 CET 2015


MSYS2 uses a system name of "MSYS_NT-6.3" instead of "MINGW32_NT-6.3" in MSYS1.
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 0b6be39..eacacdf 100755
--- a/configure
+++ b/configure
@@ -3097,7 +3097,7 @@ fi
 
 exesuf() {
     case $1 in
-        mingw32*|win32|win64|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo .exe ;;
+        mingw32*|msys*|win32|win64|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo .exe ;;
     esac
 }
 
@@ -4060,7 +4060,7 @@ case $target_os in
         enabled_any pic shared ||
             { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
         ;;
-    mingw32*)
+    mingw32*|msys*)
         if test $target_os = "mingw32ce"; then
             disable network
         else
-- 
1.9.5.msysgit.0



More information about the ffmpeg-devel mailing list