From: Alan Swanson Date: Mon, 23 Oct 2017 17:49:11 +0000 (+0100) Subject: Makefile: fix build if iptv disabled and ffmpeg enabled X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2208abdab1712b4a49a67595459c4634a2c9075;p=thirdparty%2Ftvheadend.git Makefile: fix build if iptv disabled and ffmpeg enabled --- diff --git a/Makefile b/Makefile index 86acba916..009c512df 100644 --- a/Makefile +++ b/Makefile @@ -526,9 +526,11 @@ DEPS-LIBAV = \ src/tvhlog.c SRCS-LIBAV = \ src/libav.c \ - src/input/mpegts/iptv/iptv_libav.c \ src/muxer/muxer_libav.c \ src/api/api_codec.c +ifeq ($(CONFIG_IPTV),yes) +SRCS-LIBAV += src/input/mpegts/iptv/iptv_libav.c +endif SRCS-LIBAV += $(wildcard src/transcoding/*.c) SRCS-LIBAV += $(wildcard src/transcoding/transcode/*.c) SRCS-LIBAV += $(SRCS-HWACCELS)