From: Ruben Kerkhof Date: Fri, 3 Jun 2016 15:30:57 +0000 (+0200) Subject: Don't hardcode libpthread X-Git-Tag: collectd-5.6.0~251^2~15 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;ds=sidebyside;h=d6890c78f2290a3b88473d3909c121df36feb377;p=collectd.git Don't hardcode libpthread --- diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index 2fe42ae0..18aef36c 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -24,7 +24,7 @@ if BUILD_WITH_LIBRESOLV COMMON_LIBS += -lresolv endif if BUILD_WITH_LIBPTHREAD -COMMON_LIBS += -lpthread +COMMON_LIBS += $(PTHREAD_LIBS) endif if BUILD_WITH_LIBKSTAT COMMON_LIBS += -lkstat