From 8d321e3ea9f85227296cfac94a9ce79c7db70fdf Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Tue, 16 Oct 2012 10:34:31 +0530 Subject: [PATCH] [master] Link -lpthread in libb10-threads target --- src/lib/util/threads/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/util/threads/Makefile.am b/src/lib/util/threads/Makefile.am index 7b9fb8f859..e31802308c 100644 --- a/src/lib/util/threads/Makefile.am +++ b/src/lib/util/threads/Makefile.am @@ -7,6 +7,7 @@ AM_CPPFLAGS += $(BOOST_INCLUDES) $(MULTITHREADING_FLAG) lib_LTLIBRARIES = libb10-threads.la libb10_threads_la_SOURCES = lock.h lock.cc libb10_threads_la_SOURCES += thread.h thread.cc -libb10_threads_la_LIBADD = $(top_builddir)/src/lib/exceptions/libb10-exceptions.la +libb10_threads_la_LIBADD = $(top_builddir)/src/lib/exceptions/libb10-exceptions.la +libb10_threads_la_LIBADD += $(PTHREAD_LDFLAGS) CLEANFILES = *.gcno *.gcda