From d4e6082ecf60600a87f798d7b9f6a1f2c707765f Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 7 Oct 2014 19:13:05 +0200 Subject: [PATCH] Link binaries explicitly with libpthread if needed --- pdns/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 11f92921cb..0fb6c13e10 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -204,14 +204,14 @@ endif dnstcpbench_SOURCES=dnstcpbench.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnslabeltext.cc dnswriter.hh \ misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh unix_utility.cc \ logger.cc statbag.cc qtype.cc sillyrecords.cc nsecrecords.cc base32.cc -dnstcpbench_LDFLAGS=$(BOOST_PROGRAM_OPTIONS_LDFLAGS) +dnstcpbench_LDFLAGS=$(THREADFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) dnstcpbench_LDADD=$(BOOST_PROGRAM_OPTIONS_LIBS) dnsdist_SOURCES=dnsdist.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnslabeltext.cc dnswriter.hh \ misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh unix_utility.cc \ logger.cc statbag.cc qtype.cc sillyrecords.cc nsecrecords.cc base32.cc iputils.cc -dnsdist_LDFLAGS=$(BOOST_PROGRAM_OPTIONS_LDFLAGS) +dnsdist_LDFLAGS=$(THREADFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) dnsdist_LDADD=$(BOOST_PROGRAM_OPTIONS_LIBS) @@ -342,7 +342,7 @@ ws-recursor.cc ws-recursor.hh ws-api.cc ws-api.hh webserver.cc webserver.hh \ json.cc json.hh version.hh version.cc responsestats.cc rec-carbon.cc ext/yahttp/yahttp/reqresp.cpp \ ext/yahttp/yahttp/router.cpp -pdns_recursor_LDFLAGS= $(LUA_LIBS) +pdns_recursor_LDFLAGS=$(THREADFLAGS) $(LUA_LIBS) pdns_recursor_LDADD= $(POLARSSL_LIBS) $(YAHTTP_LIBS) pdns_control_SOURCES=dynloader.cc dynmessenger.cc arguments.cc logger.cc statbag.cc \ -- 2.47.2