From 23aa6816fe7dd2ea0dec32e0225c5128b64139b2 Mon Sep 17 00:00:00 2001 From: "E.Smith" <31170571+azlm8t@users.noreply.github.com> Date: Wed, 19 Sep 2018 17:16:22 +0100 Subject: [PATCH] FreeBSD: Requires libinotify for inotify support. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 = \ -- 2.47.2