[Sheepdog] [PATCH] sheep: add -lpthread to linker options
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Fri Sep 3 10:01:34 CEST 2010
This patch fixes compile errors on some distributions.
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
sheep/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sheep/Makefile.am b/sheep/Makefile.am
index 9efb8c3..5883d7c 100644
--- a/sheep/Makefile.am
+++ b/sheep/Makefile.am
@@ -24,7 +24,7 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include $(libcpg_CFLAGS) $
sbin_PROGRAMS = sheep
sheep_SOURCES = sheep.c group.c sdnet.c store.c vdi.c work.c
-sheep_LDADD = $(libcpg_LIBS) $(libcfg_LIBS) ../lib/libsheepdog.a
+sheep_LDADD = $(libcpg_LIBS) $(libcfg_LIBS) ../lib/libsheepdog.a -lpthread
sheep_DEPENDENCIES = ../lib/libsheepdog.a
--
1.5.6.5
More information about the sheepdog
mailing list