[MPlayer-dev-eng] Compiling MPlayer under Wine
Diego Biurrun
diego at biurrun.de
Fri Oct 7 11:17:45 CEST 2011
On Thu, Oct 06, 2011 at 11:37:28PM +0200, Ingo Brückl wrote:
> I wrote on Thu, 06 Oct 2011 17:59:48 +0200:
>
> > #4: I initially used target=mingw32, but this enables Windows stuff
> > (_getch=getch2-win.c and shmem=yes at line 1562) we don't want.
>
> With a new target wine we can put the extra-cflags stuff into the config.
>
> --- configure 2011-10-01 17:32:38.000000000 +0200
> +++ /home/ib/mplayer/configure 2011-10-06 23:35:16.000000000 +0200
> @@ -1583,6 +1585,10 @@
>
> +if wine ; then
> + extra_cflags="-fno-pic -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -DWINE_NOWINSOCK -DHAVE_LINUX_DVD_STRUCT -Dstricmp=strcasecmp $extra_cflags"
> +fi
You should fix the check for LINUX_DVD_STRUCT instead.
Diego
More information about the MPlayer-dev-eng
mailing list