summaryrefslogtreecommitdiffstats
path: root/fish/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'fish/Makefile.am')
-rw-r--r--fish/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/fish/Makefile.am b/fish/Makefile.am
index f6b3e7da..cd167336 100644
--- a/fish/Makefile.am
+++ b/fish/Makefile.am
@@ -52,7 +52,8 @@ guestfish_SOURCES = \
reopen.c \
supported.c \
tilde.c \
- time.c
+ time.c \
+ virt.c
# This convenience library is solely to avoid compiler warnings
# in its generated sources.
@@ -65,9 +66,12 @@ guestfish_CFLAGS = \
-DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
-I$(srcdir)/../gnulib/lib -I../gnulib/lib \
+ $(LIBVIRT_CFLAGS) $(LIBXML2_CFLAGS) \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
-guestfish_LDADD = $(top_builddir)/src/libguestfs.la $(LIBREADLINE)
+guestfish_LDADD = \
+ $(LIBVIRT_LIBS) $(LIBXML2_LIBS) \
+ $(top_builddir)/src/libguestfs.la $(LIBREADLINE)
# Make libguestfs use the convenience library.
noinst_LTLIBRARIES = librc_protocol.la