From 2f8b82c0eb95501fe8097a1ed0a1d91578b7e803 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 4 May 2018 08:28:58 -0400 Subject: [PATCH] don't run AMR tests when transcoding is disabled fixes #540 Change-Id: I6b0d970ec9d7b8603ee401d8fd41176ee0ffeae4 (cherry picked from commit 06f76e6de4644f02520a0f0ad96d2a459e7b9b89) --- t/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/Makefile b/t/Makefile index 76d2e851a..d3af1a875 100644 --- a/t/Makefile +++ b/t/Makefile @@ -32,7 +32,10 @@ LDFLAGS+= $(shell pkg-config --libs libswresample) LDFLAGS+= $(shell pkg-config --libs libavfilter) endif -SRCS= bitstr-test.c amr-decode-test.c amr-encode-test.c +SRCS= bitstr-test.c +ifeq ($(with_transcoding),yes) +SRCS+= amr-decode-test.c amr-encode-test.c +endif LIBSRCS= loglib.c auxlib.c str.c rtplib.c ifeq ($(with_transcoding),yes) LIBSRCS+= codeclib.c resample.c