]> xenbits.xensource.com Git - libvirt.git/commitdiff
Move connection driver modules directory
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Jan 2011 17:42:07 +0000 (17:42 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 9 Feb 2011 16:22:06 +0000 (16:22 +0000)
When built as modules, the connection drivers live
in $LIBDIR/libvirt/drivers. Now we add lock manager
drivers, we need to distinguish. So move the existing
modules to 'connection-driver'

* src/Makefile.am: Move module install dir
* src/driver.c: Move module search dir

src/Makefile.am
src/driver.c

index f8b843480aa66029637695e877069faf34e51ce4..2f94efdb28d75a466aa9370f1317baab3536db7e 100644 (file)
@@ -29,7 +29,7 @@ endif
 
 lib_LTLIBRARIES = libvirt.la libvirt-qemu.la
 
-moddir = $(libdir)/libvirt/drivers
+moddir = $(libdir)/libvirt/connection-driver
 mod_LTLIBRARIES =
 
 confdir = $(sysconfdir)/libvirt
index d83b1fddfa688791fe665a4770ad7ca9fcf0b764..6e4aa9f3c883f3d05c4db9f2aea46c8cb5d67322 100644 (file)
@@ -30,7 +30,7 @@
 #include "util.h"
 #include "configmake.h"
 
-#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/drivers"
+#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/connection-driver"
 
 /* Make sure ... INTERNAL_CALL can not be set by the caller */
 verify((VIR_SECRET_GET_VALUE_INTERNAL_CALL &