Add libswscale to the include path when enabled.
authorDiego Biurrun <diego@biurrun.de>
Mon, 16 Oct 2006 10:21:41 +0000 (10:21 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 16 Oct 2006 10:21:41 +0000 (10:21 +0000)
Originally committed as revision 6706 to svn://svn.ffmpeg.org/ffmpeg/trunk

vhook/Makefile

index 808ac56..2e699d2 100644 (file)
@@ -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)