From: Jaroslav Kysela Date: Tue, 3 Nov 2015 14:14:19 +0000 (+0100) Subject: Makefile: fix compilation issue for static build X-Git-Tag: v4.2.1~1681 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3d8919e91e4ffc72a0fdd093c0048126f955c9e;p=thirdparty%2Ftvheadend.git Makefile: fix compilation issue for static build --- diff --git a/Makefile b/Makefile index bbfa0e53e..c7c6d0879 100644 --- 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