changeset 21877:ddc54f850d53

Do not add libavutil unconditionally to CFLAGS.
author diego
date Sat, 13 Jan 2007 06:24:13 +0000
parents 82dd482fb3ec
children 8b26ddc016bb
files Gui/Makefile
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/Makefile	Sat Jan 13 06:02:31 2007 +0000
+++ b/Gui/Makefile	Sat Jan 13 06:24:13 2007 +0000
@@ -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
+
 ifeq ($(TARGET_WIN32),yes)
 SRCS = win32/dialogs.c \
        win32/gui.c \