Browse Source

Add libswscale to the include path when enabled.

Originally committed as revision 6706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun 18 years ago
parent
commit
89ae0e620d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      vhook/Makefile

+ 4 - 0
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)