From: Jim Fehlig Date: Tue, 15 Nov 2011 22:11:49 +0000 (-0700) Subject: Fix build with polkit0 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0f590c62b2af15247cafc2cc53815a7edbf5532e;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git Fix build with polkit0 I missed adding libvirt_driver_remote.la to libvirtd_LDADD in commit b8adfcc6, which didn't cause a problem in 0.9.6 but results in this build error in 0.9.7 libvirtd-remote.o: In function `remoteDispatchAuthPolkit': remote.c:(.text+0x188dd): undefined reference to `virNetServerGetDBusConn' --- diff --git a/daemon/Makefile.am b/daemon/Makefile.am index e8c47ae8f..59db217d6 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -156,6 +156,10 @@ endif if WITH_NWFILTER libvirtd_LDADD += ../src/libvirt_driver_nwfilter.la endif + +if HAVE_POLKIT0 + libvirtd_LDADD += ../src/libvirt_driver_remote.la +endif endif libvirtd_LDADD += ../src/libvirt.la