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-Tag: v4.2.7~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23aa6816fe7dd2ea0dec32e0225c5128b64139b2;p=thirdparty%2Ftvheadend.git FreeBSD: Requires libinotify for inotify support. --- diff --git a/Makefile b/Makefile index f03cb6aad..c335db667 100644 --- a/Makefile +++ b/Makefile @@ -463,6 +463,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 = \