]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
FreeBSD: Requires libinotify for inotify support.
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Wed, 19 Sep 2018 16:16:22 +0000 (17:16 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 20 Sep 2018 12:35:11 +0000 (14:35 +0200)
Makefile

index 7c1c5f7da5d63a3c8dd8efde1989989547266d76..1253be14a319f5e3650c53f9329993bb4baffefc 100644 (file)
--- 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 = \