From 89ae0e620da01566a00eb572f815517db1379ef3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 16 Oct 2006 10:21:41 +0000 Subject: [PATCH] Add libswscale to the include path when enabled. Originally committed as revision 6706 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vhook/Makefile b/vhook/Makefile index 808ac56ceb..2e699d263a 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -6,6 +6,10 @@ CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libav -I$(SRC_PATH)/libavformat $(VHOOKCFLAGS) -DHAVE_AV_CONFIG_H LDFLAGS+= -g +ifeq ($(CONFIG_SWSCALER),yes) +CFLAGS := -I$(SRC_PATH)/libswscale $(CFLAGS) +endif + HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF) ALLHOOKS=$(HOOKS) imlib2$(SLIBSUF) drawtext$(SLIBSUF)