From f45b40029d1e21e3b426218dd3c4123d8d0d1c70 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 5 Aug 2011 13:52:42 +0100 Subject: [PATCH 1/1] gnulib: Add $(LIB_CLOCK_GETTIME) when linking libguestfs.so. We don't use this library (it is only used in the daemon), but we need to add this to make the linker happy. --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6c0cc33..f63ae37 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -144,7 +144,8 @@ libguestfs_la_SOURCES = \ libguestfs_la_LIBADD = \ $(HIVEX_LIBS) $(AUGEAS_LIBS) $(PCRE_LIBS) $(MAGIC_LIBS) \ $(LIBVIRT_LIBS) $(LIBXML2_LIBS) \ - $(LTLIBTHREAD) ../gnulib/lib/libgnu.la + $(LTLIBTHREAD) $(LIB_CLOCK_GETTIME) \ + ../gnulib/lib/libgnu.la # Make libguestfs include the convenience libraries. noinst_LTLIBRARIES = liberrnostring.la libprotocol.la -- 1.8.3.1