From 3b0d91890da5244dd642a5e7e9fa07312851693d Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 7 Dec 2009 11:28:21 +0000 Subject: [PATCH] lib: Link with $(LTLIBTHREAD), required by Gnulib lock module. This fixes commit cada248a53858341c91f70392e8f5b6e47d9b4fe. --- src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index c3b7392..62a94c4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -115,9 +115,11 @@ libguestfs_la_SOURCES = \ guestfs-protocol.h \ gettext.h +libguestfs_la_LIBADD = $(LTLIBTHREAD) + # Make libguestfs include the convenience library. noinst_LTLIBRARIES = libprotocol.la -libguestfs_la_LIBADD = libprotocol.la +libguestfs_la_LIBADD += libprotocol.la libguestfs_la_CFLAGS = \ -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \ -- 1.8.3.1