[MPlayer-dev-eng] [PATCH] fix resources in mingw build
Diego Biurrun
diego at biurrun.de
Sat Mar 24 17:28:14 CET 2007
On Sat, Mar 24, 2007 at 03:57:50PM +0100, Diego Biurrun wrote:
> On Sat, Mar 24, 2007 at 03:52:41PM +0100, Gianluigi Tiesi wrote:
> > On Sat, Mar 24, 2007 at 02:05:31PM +0100, Diego Biurrun wrote:
> > > On Sat, Mar 24, 2007 at 02:05:09AM +0100, Gianluigi Tiesi wrote:
> > > >
> > > > OBJS_MPLAYER-$(TARGET_WIN32) += osdep/mplayer-rc.o
> > > >
> > > > doesn't work anymore for me,
> > > > Also resource file is a bit outdated.
> > > >
> > > > The patch adds resources to mplayer/mencoder by using ifeq
> > > > and also updates a bit the resource file (rc).
> > > >
> > > > --- Makefile (revision 22787)
> > > > +++ Makefile (working copy)
> > > > @@ -129,7 +129,10 @@
> > > >
> > > > # Having this in libosdep.a is not enough.
> > > > -OBJS_MPLAYER-$(TARGET_WIN32) += osdep/mplayer-rc.o
> > > > +ifeq ($(TARGET_WIN32),yes)
> > > > + OBJS_MPLAYER += osdep/mplayer-rc.o
> > > > + OBJS_MENCODER += osdep/mplayer-rc.o
> > > > +endif
> > >
> > > That's the wrong fix. Also, why do you wish to use it for MEncoder as
> > > well? Note that I'm not fully sure what this file is used for in the
> > > Windows build.
> > >
> > Because I want to use the resource both on mplayer and mencoder.
>
> Why? What is it good for?
>
> > old way using OBJS_MPLAYER-$(TARGET_WIN32) doesn't work anymore for me.
>
> Try moving it from line 132 to line 120.
I've moved it, this was obviously wrong, your problem should be gone.
Diego
More information about the MPlayer-dev-eng
mailing list