]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Avoid link failure when configured --with-driver-modules
authorJim Meyering <meyering@redhat.com>
Tue, 17 Feb 2009 10:34:30 +0000 (10:34 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 17 Feb 2009 10:34:30 +0000 (10:34 +0000)
* qemud/Makefile.am (WITH_DRIVER_MODULES): Link with libvirt_driver.la
and libvirt_util.la.  Indent for readability.

ChangeLog
qemud/Makefile.am

index 967e5c985150fe882c6e0e389f1b4ec81262c4e2..d0fbd62320e6efd6c1678dad6302030e9f9eaf77 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Feb 17 11:32:01 +0100 2009 Jim Meyering <meyering@redhat.com>
+
+       Avoid link failure when configured --with-driver-modules
+       * qemud/Makefile.am (WITH_DRIVER_MODULES): Link with libvirt_driver.la
+       and libvirt_util.la.  Indent for readability.
+
 Tue Feb 17 11:30:23 +0100 2009 Maximilian Wilhelm <max@rfc2324.org>
 
        Work around 'virGetVersion' build problem
index a0c161a00db9f0c2df6594fda2b4e75ede7b588d..498f05cb7797792bdc371261e5a18b225a451a89 100644 (file)
@@ -104,30 +104,33 @@ libvirtd_LDADD =                                  \
        $(SASL_LIBS)                                    \
        $(POLKIT_LIBS)
 
-if ! WITH_DRIVER_MODULES
-if WITH_QEMU
-libvirtd_LDADD += ../src/libvirt_driver_qemu.la
-endif
+if WITH_DRIVER_MODULES
+  libvirtd_LDADD += ../src/libvirt_driver.la
+  libvirtd_LDADD += ../src/libvirt_util.la
+else
+  if WITH_QEMU
+    libvirtd_LDADD += ../src/libvirt_driver_qemu.la
+  endif
 
-if WITH_LXC
-libvirtd_LDADD += ../src/libvirt_driver_lxc.la
-endif
+  if WITH_LXC
+    libvirtd_LDADD += ../src/libvirt_driver_lxc.la
+  endif
 
-if WITH_UML
-libvirtd_LDADD += ../src/libvirt_driver_uml.la
-endif
+  if WITH_UML
+    libvirtd_LDADD += ../src/libvirt_driver_uml.la
+  endif
 
-if WITH_STORAGE_DIR
-libvirtd_LDADD += ../src/libvirt_driver_storage.la
-endif
+  if WITH_STORAGE_DIR
+    libvirtd_LDADD += ../src/libvirt_driver_storage.la
+  endif
 
-if WITH_NETWORK
-libvirtd_LDADD += ../src/libvirt_driver_network.la
-endif
+  if WITH_NETWORK
+    libvirtd_LDADD += ../src/libvirt_driver_network.la
+  endif
 
-if WITH_NODE_DEVICES
-libvirtd_LDADD += ../src/libvirt_driver_nodedev.la
-endif
+  if WITH_NODE_DEVICES
+    libvirtd_LDADD += ../src/libvirt_driver_nodedev.la
+  endif
 endif
 
 libvirtd_LDADD += ../src/libvirt.la