From 03fe4793494940b9edc306f5bfa760ee3da31123 Mon Sep 17 00:00:00 2001 From: James Page Date: Thu, 14 Feb 2013 13:10:39 +0000 Subject: [PATCH] LDADD PTHREAD_LIBS to fix librados-config linking librados-config depends on libglobal which in turn reference symbols in pthread; this caused issues when linking due to the indirect dependency via libglobal. Signed-off-by: James Page --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4d006ce47583a..68747d4aa03a4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -145,7 +145,7 @@ cephfs_LDADD = libcommon.la bin_PROGRAMS += cephfs librados_config_SOURCES = librados-config.cc -librados_config_LDADD = libglobal.la librados.la $(EXTRALIBS) $(CRYPTO_LIBS) +librados_config_LDADD = libglobal.la librados.la $(PTHREAD_LIBS) $(EXTRALIBS) $(CRYPTO_LIBS) bin_PROGRAMS += librados-config # synthetic client