summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d4195df)
raw | patch | inline | side by side (parent: d4195df)
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 eef2a6095844545872953bc55de6f096ccfbfc99..b18481447a4c4995fe12fc71e236f62a29e198f7 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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