]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Makefile: fix compilation issue for static build
authorJaroslav Kysela <perex@perex.cz>
Tue, 3 Nov 2015 14:14:19 +0000 (15:14 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 3 Nov 2015 14:14:19 +0000 (15:14 +0100)
Makefile

index bbfa0e53e124ddfe3b921562728e440b2f0df1cc..c7c6d0879c2b2137853cf992f84a8d5842bb4a45 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -101,8 +101,10 @@ LDFLAGS += -lmfx
 endif
 LDFLAGS += ${CONFIG_LIBMFX_VA_LIBS}
 endif
+ifneq ($(CONFIG_LIBMFX_STATIC),yes)
 LDFLAGS += -lavfilter
 endif
+endif
 
 ifeq ($(CONFIG_HDHOMERUN_STATIC),yes)
 CFLAGS  += -I${ROOTDIR}/libhdhomerun_static