From d6890c78f2290a3b88473d3909c121df36feb377 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 3 Jun 2016 17:30:57 +0200 Subject: [PATCH] Don't hardcode libpthread --- src/daemon/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0