gnulib: Add $(LIB_CLOCK_GETTIME) when linking libguestfs.so.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 5 Aug 2011 12:52:42 +0000 (13:52 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 5 Aug 2011 12:52:42 +0000 (13:52 +0100)
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

index 6c0cc33..f63ae37 100644 (file)
@@ -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