[Libguestfs] [PATCH 1/4] lib: Remove AUGEAS_CFLAGS, AUGEAS_LIBS.

Richard W.M. Jones rjones at redhat.com
Wed Aug 29 15:15:32 UTC 2012


From: "Richard W.M. Jones" <rjones at redhat.com>

The library doesn't actually use libaugeas, except indirectly via the
libguestfs API.  The libguestfs API implements this in the daemon, so
there's no need for the library to link to augeas at all.
---
 src/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 4d85747..5d3639a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -148,7 +148,7 @@ libguestfs_la_SOURCES = \
 	libguestfs.syms
 
 libguestfs_la_LIBADD = \
-	$(HIVEX_LIBS) $(AUGEAS_LIBS) $(PCRE_LIBS) $(MAGIC_LIBS) \
+	$(HIVEX_LIBS) $(PCRE_LIBS) $(MAGIC_LIBS) \
 	$(LIBVIRT_LIBS) $(LIBXML2_LIBS) \
 	../gnulib/lib/libgnu.la \
 	$(GETADDRINFO_LIB) \
@@ -167,7 +167,7 @@ libguestfs_la_LIBADD += liberrnostring.la libprotocol.la
 libguestfs_la_CFLAGS = \
   -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \
   -DGUESTFS_WARN_DEPRECATED=1 \
-  $(HIVEX_CFLAGS) $(AUGEAS_CFLAGS) $(PCRE_CFLAGS) \
+  $(HIVEX_CFLAGS) $(PCRE_CFLAGS) \
   $(LIBVIRT_CFLAGS) $(LIBXML2_CFLAGS) \
   $(WARN_CFLAGS) $(WERROR_CFLAGS) \
   $(GCC_VISIBILITY_HIDDEN)
-- 
1.7.10.4




More information about the Libguestfs mailing list