projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2151 from mfournier/check_capability-rewrite-fix
[collectd.git]
/
src
/
daemon
/
Makefile.am
diff --git
a/src/daemon/Makefile.am
b/src/daemon/Makefile.am
index
632872a
..
cb62c64
100644
(file)
--- 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