X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2FMakefile.am;h=cb62c645cd5216e2143c26323fc57e14f50ddb8c;hb=c76419c0cf983f1ecd3d36aa236cc4e3f9cff733;hp=632872a2a901d56f36872dc840bef4204c452c37;hpb=f4366504b9fef13f15f53b029c90e810cbc44e2d;p=collectd.git diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index 632872a2..cb62c645 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -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