summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da262b9)
raw | patch | inline | side by side (parent: da262b9)
author | octo <octo> | |
Tue, 11 Apr 2006 22:24:09 +0000 (22:24 +0000) | ||
committer | octo <octo> | |
Tue, 11 Apr 2006 22:24:09 +0000 (22:24 +0000) |
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index dc47b88444b47ff1aa763ddf3c163fd0d4970e1a..c554abe97dcd2dd40eef9da3aadad5e083dc6268 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
pkglib_LTLIBRARIES += battery.la
battery_la_SOURCES = battery.c
battery_la_LDFLAGS = -module -avoid-version
+if BUILD_WITH_LIBIOKIT
+battery_la_LDFLAGS += -lIOKit
+endif
collectd_LDADD += "-dlopen" battery.la
collectd_DEPENDENCIES += battery.la
endif