daemon: Fix build on Unix.
authorRichard Jones <rjones@redhat.com>
Wed, 25 Nov 2009 17:10:33 +0000 (17:10 +0000)
committerRichard Jones <rjones@redhat.com>
Wed, 25 Nov 2009 17:10:33 +0000 (17:10 +0000)
daemon/Makefile.am

index ea2d7ea..8636891 100644 (file)
@@ -109,7 +109,9 @@ guestfsd_SOURCES = \
        xattr.c \
        zero.c \
        zerofree.c
-guestfsd_LDADD = $(libsrcdir)/guestfs_protocol.o lib/libgnu.a
+guestfsd_LDADD = \
+        $(libsrcdir)/guestfs_protocol.o \
+        lib/libgnu.a $(LIB_CLOCK_GETTIME)
 
 AM_CPPFLAGS = -I$(srcdir)/lib -Ilib
 guestfsd_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)