From 0c91becfa6cc5f05c5b2eaa89299dbf1aa202344 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 25 Apr 2013 15:53:51 -0700 Subject: [PATCH] Makefile.am: Add -lpthread to fix build on newer ld in Raring Ringtail Signed-off-by: Dan Mick Reviewed-by: Sage Weil (cherry picked from commit 98f532e8000af281fa03b24da9ad2fda81755270) Conflicts: src/Makefile.am --- src/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7eabd62b12135..b12504be9bfad 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -577,13 +577,13 @@ testrados_list_parallel_SOURCES = \ test/system/rados_list_parallel.cc \ test/system/st_rados_create_pool.cc \ test/system/st_rados_list_objects.cc -testrados_list_parallel_LDADD = libsystest.la librados.la +testrados_list_parallel_LDADD = libsystest.la librados.la $(PTHREAD_LIBS) bin_DEBUGPROGRAMS += testrados_list_parallel testrados_open_pools_parallel_SOURCES = \ test/system/rados_open_pools_parallel.cc \ test/system/st_rados_create_pool.cc -testrados_open_pools_parallel_LDADD = libsystest.la librados.la +testrados_open_pools_parallel_LDADD = libsystest.la librados.la $(PTHREAD_LIBS) bin_DEBUGPROGRAMS += testrados_open_pools_parallel testrados_delete_pools_parallel_SOURCES = \ @@ -591,7 +591,7 @@ testrados_delete_pools_parallel_SOURCES = \ test/system/st_rados_create_pool.cc \ test/system/st_rados_delete_pool.cc \ test/system/st_rados_list_objects.cc -testrados_delete_pools_parallel_LDADD = libsystest.la librados.la +testrados_delete_pools_parallel_LDADD = libsystest.la librados.la $(PTHREAD_LIBS) bin_DEBUGPROGRAMS += testrados_delete_pools_parallel testrados_watch_notify_SOURCES = \ @@ -601,7 +601,7 @@ testrados_watch_notify_SOURCES = \ test/system/st_rados_delete_objs.cc \ test/system/st_rados_watch.cc \ test/system/st_rados_notify.cc -testrados_watch_notify_LDADD = libsystest.la librados.la +testrados_watch_notify_LDADD = libsystest.la librados.la $(PTHREAD_LIBS) bin_DEBUGPROGRAMS += testrados_watch_notify bench_log_SOURCES = \ -- 2.39.5