[libdvdcss-devel] [PATCH 2/4] build: Support building under msys2

Diego Biurrun diego at biurrun.de
Wed Dec 3 18:29:16 CET 2014


On Wed, Dec 03, 2014 at 04:37:04PM +0100, Jean-Baptiste Kempf wrote:
> On 02 Dec, Diego Biurrun wrote :
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -104,7 +104,7 @@ case x"${host_os}" in
> >    xdarwin*)
> >      CFLAGS="${CFLAGS} -no-cpp-precomp"
> >      ;;
> > -  x*cygwin*)
> > +  x*cygwin* | x*msys*)
> >      CFLAGS="${CFLAGS} -mwin32"
> >      AC_DEFINE([_WIN32_IE], 0x0501, [Define to '0x0501' for IE 5.01 (and shell) APIs.])
> >      ;;
> 
> LGTM even if should probably be with the mingw part.

No, MSYS2 is a fork of Cygwin and also needs -mwin32 to compile.

Diego


More information about the libdvdcss-devel mailing list