Merge pull request #1737 from rubenk/pthread-cleanup
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 11:04:55 +0000 (13:04 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 11:04:55 +0000 (13:04 +0200)
Pthread cleanup

1  2 
configure.ac
src/Makefile.am

diff --cc configure.ac
Simple merge
diff --cc src/Makefile.am
@@@ -82,9 -78,9 +82,10 @@@ endi
  
  collectd_tg_SOURCES = collectd-tg.c
  collectd_tg_CPPFLAGS = $(AM_CPPFLAGS) \
 -                     -I$(top_srcdir)/src/libcollectdclient/collectd -I$(top_builddir)/src/libcollectdclient/collectd
 +      -I$(top_srcdir)/src/libcollectdclient/collectd \
 +      -I$(top_builddir)/src/libcollectdclient/collectd
  collectd_tg_LDADD = \
+       $(PTHREAD_LIBS) \
        daemon/libheap.la \
        libcollectdclient/libcollectdclient.la
  if BUILD_WITH_LIBSOCKET