summaryrefslogtreecommitdiffstats
path: root/df
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-26 16:49:54 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-26 16:51:01 +0000
commit18de192b0a4b71ade57acc0b6af311cc17a1bf0a (patch)
tree99f3d0b8fd47ccfe13086617529f8d1df7d782a2 /df
parenta6054bf90f39a84c1a8f8f7d3b9e81e84cb13696 (diff)
downloadlibguestfs-18de192b0a4b71ade57acc0b6af311cc17a1bf0a.tar.gz
libguestfs-18de192b0a4b71ade57acc0b6af311cc17a1bf0a.tar.xz
libguestfs-18de192b0a4b71ade57acc0b6af311cc17a1bf0a.zip
df: Missing direct dependency on libvirt.
virt-df has an (optional) direct dependency on libvirt. Because of libtool's over-linking behaviour this was being missed.
Diffstat (limited to 'df')
-rw-r--r--df/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/df/Makefile.am b/df/Makefile.am
index f148e6ce..053261d8 100644
--- a/df/Makefile.am
+++ b/df/Makefile.am
@@ -47,11 +47,14 @@ virt_df_CFLAGS = \
-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