[MPlayer-cvslog] r21895 - trunk/Gui/Makefile

Diego Biurrun diego at biurrun.de
Sat Jan 13 10:33:26 CET 2007


On Sat, Jan 13, 2007 at 10:12:04AM +0100, Guillaume POIRIER wrote:
> 
> On 1/13/07, diego <subversion at mplayerhq.hu> wrote:
> >
> >Modified:
> >   trunk/Gui/Makefile
> >
> >Log:
> >Do not add libavutil unconditionally to CFLAGS.
> >
> >--- trunk/Gui/Makefile  (original)
> >+++ trunk/Gui/Makefile  Sat Jan 13 07:24:13 2007
> >@@ -2,9 +2,11 @@
> >
> > LIBNAME = libgui.a
> >
> >-CFLAGS = -I../loader -I./wm -I./skin -I../libavutil/
> >+CFLAGS = -I../loader -I./wm -I./skin
> > #CFLAGS += -DDEBUG
> >
> >+CFLAGS-$(CONFIG_LIBAVUTIL)   += -I../libavutil
> 
> Although I do agree that your version is better than mine (thanks for
> fixing it!), does it make sense to make a conditional assignment here
> _if_ we can't build without lavu?

We should, otherwise it's a bug.  If we cannot, then libavutil can be
unconditionally added to the CFLAGS everywhere.

Diego



More information about the MPlayer-cvslog mailing list