From: Dan Mick Date: Thu, 25 Apr 2013 22:53:51 +0000 (-0700) Subject: Makefile.am: Add -lpthread to fix build on newer ld in Raring Ringtail X-Git-Tag: v0.56.5~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0c91becfa6cc5f05c5b2eaa89299dbf1aa202344;p=ceph.git 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 --- diff --git a/src/Makefile.am b/src/Makefile.am index 7eabd62b1213..b12504be9bfa 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 = \