[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Makefile.am compile fix



Hi, also filed as https://bugzilla.redhat.com/show_bug.cgi?id=474211 but
I have been asked to send it to the list.

The attached patches fixes Makefile.am and let's me compile libvirt.


Ciao
	Paolo
Index: qemud/Makefile.am
===================================================================
RCS file: /data/cvs/libvirt/qemud/Makefile.am,v
retrieving revision 1.62
diff -u -p -r1.62 Makefile.am
--- qemud/Makefile.am	28 Nov 2008 11:20:27 -0000	1.62
+++ qemud/Makefile.am	28 Nov 2008 13:18:02 -0000
@@ -82,13 +82,16 @@ libvirtd_CFLAGS = \
 	-DREMOTE_PID_FILE="\"$(REMOTE_PID_FILE)\"" \
 	-DGETTEXT_PACKAGE=\"$(PACKAGE)\"
 
-libvirtd_LDFLAGS = \
-	$(WARN_CFLAGS) $(LIBXML_LIBS) $(GNUTLS_LIBS) $(SASL_LIBS) \
-	$(COVERAGE_LDFLAGS) \
-	$(POLKIT_LIBS)
+libvirtd_LDFLAGS = 					\
+	$(WARN_CFLAGS) 					\
+	$(COVERAGE_LDFLAGS)
 
 libvirtd_LDADD =					\
-		../gnulib/lib/libgnu.la
+	$(LIBXML_LIBS)					\
+	$(GNUTLS_LIBS)					\
+	$(SASL_LIBS)					\
+	$(POLKIT_LIBS)					\
+	../gnulib/lib/libgnu.la
 
 if ! WITH_DRIVER_MODULES
 if WITH_QEMU
@@ -128,8 +131,6 @@ libvirtd_CFLAGS += $(AVAHI_CFLAGS)
 libvirtd_LDADD += $(AVAHI_LIBS)
 endif
 
-libvirtd_DEPENDENCIES = $(libvirtd_LDADD)
-
 
 default_xml_dest = libvirt/qemu/networks/default.xml
 install-data-local: install-init install-data-sasl install-data-polkit

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]