summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-04-25 15:53:51 -0700
committerSage Weil <sage@inktank.com>2013-05-01 14:08:02 -0700
commit0c91becfa6cc5f05c5b2eaa89299dbf1aa202344 (patch)
tree79585693020ae5e1a5e9ba0993d958211e6cb85e
parent15e6544f0892e8472f436149d15fc30257496c0b (diff)
downloadceph-0c91becfa6cc5f05c5b2eaa89299dbf1aa202344.tar.gz
Makefile.am: Add -lpthread to fix build on newer ld in Raring Ringtail
Signed-off-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com> (cherry picked from commit 98f532e8000af281fa03b24da9ad2fda81755270) Conflicts: src/Makefile.am
-rw-r--r--src/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7eabd62b121..b12504be9bf 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 = \