From: Manuel Luis SanmartĂ­n Rozada Date: Sat, 8 Feb 2014 20:30:21 +0000 (+0100) Subject: Link collectd-tg with pthreads X-Git-Tag: collectd-5.5.1~31^2~13 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=51fff4e3791f0a85222be3659884b5ab9acc3116;p=collectd.git Link collectd-tg with pthreads Signed-off-by: Florian Forster --- diff --git a/src/Makefile.am b/src/Makefile.am index 3f435319..ad8de2b2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -129,6 +129,9 @@ endif if BUILD_AIX collectd_tg_LDADD += -lm endif +if BUILD_WITH_LIBPTHREAD +collectd_tg_LDADD += -lpthread +endif collectd_tg_LDADD += libcollectdclient/libcollectdclient.la collectd_tg_DEPENDENCIES = libcollectdclient/libcollectdclient.la