]> 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:51:22 +0000 (14:51 +0200)
Makefile

index f03cb6aadf386ecfae94089a811882e3d3d4514a..c335db6671c023a1ce8fcdf6212c6436247eeaa4 100644 (file)
--- 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 = \