projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da262b9
)
Link the battery plugin to `IOKit' if present.
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
dc47b88
..
c554abe
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-70,6
+70,9
@@
if BUILD_MODULE_BATTERY
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