projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4195df
)
Fix link with perfstat
author
Manuel Luis Sanmartin Rozada
<manuel.luis@gmail.com>
Sat, 29 Sep 2012 20:28:25 +0000
(22:28 +0200)
committer
Florian Forster
<octo@collectd.org>
Tue, 2 Oct 2012 19:58:58 +0000
(21:58 +0200)
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
eef2a60
..
b184814
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-213,6
+213,10
@@
if BUILD_PLUGIN_CONTEXTSWITCH
pkglib_LTLIBRARIES += contextswitch.la
contextswitch_la_SOURCES = contextswitch.c
contextswitch_la_LDFLAGS = -module -avoid-version
+contextswitch_la_LIBADD =
+if BUILD_WITH_PERFSTAT
+contextswitch_la_LIBADD += -lperfstat
+endif
collectd_LDADD += "-dlopen" contextswitch.la
collectd_DEPENDENCIES += contextswitch.la
endif