lib: Link with $(LTLIBTHREAD), required by Gnulib lock module.
authorRichard Jones <rjones@redhat.com>
Mon, 7 Dec 2009 11:28:21 +0000 (11:28 +0000)
committerRichard Jones <rjones@redhat.com>
Mon, 7 Dec 2009 13:09:08 +0000 (13:09 +0000)
This fixes commit cada248a53858341c91f70392e8f5b6e47d9b4fe.

src/Makefile.am

index c3b7392..62a94c4 100644 (file)
@@ -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"' \