diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index d59e82348404da03594d91e6aa20bc3a95cd5962..cb62c645cd5216e2143c26323fc57e14f50ddb8c 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
collectd_LDADD += -loconfig
endif
+LOG_COMPILER = env VALGRIND="@VALGRIND@" $(abs_top_srcdir)/testwrapper.sh
+
check_PROGRAMS = test_common test_meta_data test_utils_avltree test_utils_heap test_utils_time test_utils_subst
TESTS = test_common test_meta_data test_utils_avltree test_utils_heap test_utils_time test_utils_subst