diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 632872a2a901d56f36872dc840bef4204c452c37..ac8c7640534b2d7dc7a8388f966e9ed47dd57cc5 100644 (file)
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
# Link to these libraries..
COMMON_LIBS = $(PTHREAD_LIBS)
+if BUILD_WITH_CAPABILITY
+COMMON_LIBS += -lcap
+endif
if BUILD_WITH_LIBRT
COMMON_LIBS += -lrt
endif
utils_tail.c utils_tail.h \
utils_time.c utils_time.h \
types_list.c types_list.h \
- utils_threshold.c utils_threshold.h
+ utils_threshold.c utils_threshold.h \
+ ../utils_latency_config.h ../utils_latency_config.c \
+ ../utils_latency.h ../utils_latency.c
collectd_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)