From: E.Smith <31170571+azlm8t@users.noreply.github.com> Date: Wed, 19 Sep 2018 16:16:22 +0000 (+0100) Subject: FreeBSD: Requires libinotify for inotify support. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c67975f77988909ec03aa29022c648f1dd28fe94;p=thirdparty%2Ftvheadend.git FreeBSD: Requires libinotify for inotify support. --- diff --git a/Makefile b/Makefile index 7c1c5f7da..1253be14a 100644 --- a/Makefile +++ b/Makefile @@ -479,6 +479,11 @@ SRCS-INOTIFY = \ src/dvr/dvr_inotify.c SRCS-${CONFIG_INOTIFY} += $(SRCS-INOTIFY) I18N-C += $(SRCS-INOTIFY) +ifeq ($(CONFIG_INOTIFY), yes) +ifeq ($(PLATFORM), freebsd) +LDFLAGS += -linotify +endif +endif # Avahi SRCS-AVAHI = \