OSDN Git Service

lavfi/Makefile: Don't compile lavfutils.c and lswsutils.c if they are not needed
authorJames Almer <jamrial@gmail.com>
Fri, 29 Nov 2013 04:45:05 +0000 (01:45 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Nov 2013 12:29:27 +0000 (13:29 +0100)
They are only needed by removelogo.
This fixes a link failure in shared builds when compiling with
removelogo disabled but Lavf/SwS enabled

Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/Makefile

index 7bd4323..3d8a763 100644 (file)
@@ -49,8 +49,6 @@ OBJS = allfilters.o                                                     \
 
 
 OBJS-$(CONFIG_AVCODEC)                       += avcodec.o
-OBJS-$(CONFIG_AVFORMAT)                      += lavfutils.o
-OBJS-$(CONFIG_SWSCALE)                       += lswsutils.o
 
 OBJS-$(CONFIG_ACONVERT_FILTER)               += af_aconvert.o
 OBJS-$(CONFIG_ADELAY_FILTER)                 += af_adelay.o