[Pkg-libvirt-commits] [libguestfs] 14/78: python: Remove unnecessary library dependencies.

Hilko Bengen bengen at moszumanska.debian.org
Fri May 9 12:55:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 6af2306730b7e4e372e60b6435f87722972c504b
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sat Mar 29 18:52:32 2014 +0000

    python: Remove unnecessary library dependencies.
    
    We can remove the deps on libxml2, libvirt and gnulib, by only linking
    with utils.o (instead of utils.a).
---
 python/Makefile.am | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/python/Makefile.am b/python/Makefile.am
index 025007b..11e8ca7 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -51,11 +51,8 @@ libguestfsmod_la_CFLAGS = \
 	$(WARN_CFLAGS) $(WERROR_CFLAGS)
 
 libguestfsmod_la_LIBADD = \
-	$(top_builddir)/src/libutils.la \
-	$(top_builddir)/src/libguestfs.la \
-	$(LIBXML2_LIBS) \
-	$(LIBVIRT_LIBS) \
-	../gnulib/lib/libgnu.la
+	$(top_builddir)/src/libutils_la-utils.lo \
+	$(top_builddir)/src/libguestfs.la
 
 libguestfsmod_la_LDFLAGS = -avoid-version -shared -module -shrext $(PYTHON_EXT_SUFFIX)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list