summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-12-07 11:28:21 +0000
committerRichard Jones <rjones@redhat.com>2009-12-07 13:09:08 +0000
commit3b0d91890da5244dd642a5e7e9fa07312851693d (patch)
tree0aee2970510de5e26a52c1080f61f7a48d62b0b6 /src
parentf025a9c41dca06452e03a7f0e55cda0b6764038c (diff)
downloadlibguestfs-3b0d91890da5244dd642a5e7e9fa07312851693d.tar.gz
libguestfs-3b0d91890da5244dd642a5e7e9fa07312851693d.tar.xz
libguestfs-3b0d91890da5244dd642a5e7e9fa07312851693d.zip
lib: Link with $(LTLIBTHREAD), required by Gnulib lock module.
This fixes commit cada248a53858341c91f70392e8f5b6e47d9b4fe.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c3b7392b..62a94c4d 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"' \