projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/Makefile.am: Link the network plugin against pthread.
[collectd.git]
/
src
/
Makefile.am
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
fc9041d
..
4ea3be0
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-277,6
+277,9
@@
network_la_LDFLAGS = -module -avoid-version
if BUILD_WITH_LIBSOCKET
network_la_LDFLAGS += -lsocket
endif
+if BUILD_WITH_LIBPTHREAD
+network_la_LDFLAGS += -lpthread
+endif
collectd_LDADD += "-dlopen" network.la
collectd_DEPENDENCIES += network.la
endif