From: phk Date: Mon, 8 Sep 2008 16:53:30 +0000 (+0000) Subject: Add PTHREAD_LIBS for OpenBSD compat. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2acf35f8720c92d01daaee1e968d71a0dcd6b155;p=varnish Add PTHREAD_LIBS for OpenBSD compat. Ticket #314 Submitted by: bonetruck2 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3172 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishlog/Makefile.am b/varnish-cache/bin/varnishlog/Makefile.am index 11d025e3..85c8b926 100644 --- a/varnish-cache/bin/varnishlog/Makefile.am +++ b/varnish-cache/bin/varnishlog/Makefile.am @@ -11,4 +11,5 @@ varnishlog_SOURCES = varnishlog.c varnishlog_LDADD = \ $(top_builddir)/lib/libvarnish/libvarnish.la \ $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \ - $(top_builddir)/lib/libvarnishapi/libvarnishapi.la + $(top_builddir)/lib/libvarnishapi/libvarnishapi.la \ + ${PTHREAD_LIBS} diff --git a/varnish-cache/bin/varnishncsa/Makefile.am b/varnish-cache/bin/varnishncsa/Makefile.am index 48366b48..33d8d02d 100644 --- a/varnish-cache/bin/varnishncsa/Makefile.am +++ b/varnish-cache/bin/varnishncsa/Makefile.am @@ -11,4 +11,5 @@ varnishncsa_SOURCES = varnishncsa.c varnishncsa_LDADD = \ $(top_builddir)/lib/libvarnish/libvarnish.la \ $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \ - $(top_builddir)/lib/libvarnishapi/libvarnishapi.la + $(top_builddir)/lib/libvarnishapi/libvarnishapi.la \ + ${PTHREAD_LIBS} diff --git a/varnish-cache/bin/varnishstat/Makefile.am b/varnish-cache/bin/varnishstat/Makefile.am index 7bc1c964..284f062b 100644 --- a/varnish-cache/bin/varnishstat/Makefile.am +++ b/varnish-cache/bin/varnishstat/Makefile.am @@ -12,4 +12,4 @@ varnishstat_LDADD = \ $(top_builddir)/lib/libvarnish/libvarnish.la \ $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \ $(top_builddir)/lib/libvarnishapi/libvarnishapi.la \ - ${CURSES_LIBS} ${RT_LIBS} + ${CURSES_LIBS} ${RT_LIBS} ${PTHREAD_LIBS}