summaryrefslogtreecommitdiffstats
path: root/libaf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/Makefile')
-rw-r--r--libaf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libaf/Makefile b/libaf/Makefile
index 26671d327a..8c72f4fec4 100644
--- a/libaf/Makefile
+++ b/libaf/Makefile
@@ -14,7 +14,6 @@ SRCS=af.c \
af_format.c \
af_gate.c \
af_hrtf.c \
- af_lavcresample.c \
af_pan.c \
af_resample.c \
af_sub.c \
@@ -34,6 +33,10 @@ LIBAV_INC += -I../libavutil
endif
ifeq ($(CONFIG_LIBAVCODEC),yes)
LIBAV_INC += -I../libavcodec
+SRCS+=af_lavcresample.c
+endif
+ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
+SRCS+=af_lavcresample.c
endif
OBJS=$(SRCS:.c=.o)