]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Makefile: fix build if iptv disabled and ffmpeg enabled
authorAlan Swanson <reiver@improbability.net>
Mon, 23 Oct 2017 17:49:11 +0000 (18:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 25 Oct 2017 09:42:12 +0000 (11:42 +0200)
Makefile

index 86acba916dcf221458bc33a9cc83349fab1919b2..009c512dfa4eeb32a73d10624996dd92cc263b26 100644 (file)
--- 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)