virt-df has an (optional) direct dependency on libvirt. Because of
libtool's over-linking behaviour this was being missed.
-I$(top_srcdir)/fish \
-I$(srcdir)/../gnulib/lib -I../gnulib/lib \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
- $(WARN_CFLAGS) $(WERROR_CFLAGS)
+ $(WARN_CFLAGS) $(WERROR_CFLAGS) \
+ $(LIBVIRT_CFLAGS)
virt_df_LDADD = \
$(top_builddir)/src/libguestfs.la \
- ../gnulib/lib/libgnu.la -lm
+ ../gnulib/lib/libgnu.la \
+ $(LIBVIRT_LIBS) \
+ -lm
# Manual pages and HTML files for the website.
man_MANS = virt-df.1