[libav-devel] [PATCH] configure: Support MSYS2 mingw-w64 64bit

Hendrik Leppkes h.leppkes at gmail.com
Wed Dec 2 19:55:25 CET 2015


On Wed, Dec 2, 2015 at 5:48 PM, Luca Barbato <lu_zero at gentoo.org> wrote:
> ---
>  configure | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 53de905..942abfe 100755
> --- a/configure
> +++ b/configure
> @@ -2756,7 +2756,7 @@ fi
>
>  exesuf() {
>      case $1 in
> -        mingw32*|win32|win64|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo .exe ;;
> +        mingw*|win32|win64|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo .exe ;;
>      esac
>  }
>
> @@ -3652,7 +3652,7 @@ case $target_os in
>          enabled_any pic shared ||
>              { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
>          ;;
> -    mingw32*)
> +    mingw*)
>          if test $target_os = "mingw32ce"; then
>              disable network
>          else
> --

I would prefer to explicitly list both versions, ie. mingw32*|mingw64*)


More information about the libav-devel mailing list