Code

Merge branch 'collectd-5.5' into collectd-5.6
[collectd.git] / src / daemon / Makefile.am
index 632872a2a901d56f36872dc840bef4204c452c37..cb62c645cd5216e2143c26323fc57e14f50ddb8c 100644 (file)
@@ -11,6 +11,9 @@ AM_CPPFLAGS += -DPKGDATADIR='"${pkgdatadir}"'
 
 # Link to these libraries..
 COMMON_LIBS = $(PTHREAD_LIBS)
+if BUILD_WITH_CAPABILITY
+COMMON_LIBS += -lcap
+endif
 if BUILD_WITH_LIBRT
 COMMON_LIBS += -lrt
 endif