Move connection driver modules directory

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
This commit is contained in:
Daniel P. Berrange 2011-01-21 17:42:07 +00:00
parent 88d04d170f
commit 8ce5d404be
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ endif
lib_LTLIBRARIES = libvirt.la libvirt-qemu.la lib_LTLIBRARIES = libvirt.la libvirt-qemu.la
moddir = $(libdir)/libvirt/drivers moddir = $(libdir)/libvirt/connection-driver
mod_LTLIBRARIES = mod_LTLIBRARIES =
confdir = $(sysconfdir)/libvirt confdir = $(sysconfdir)/libvirt

View File

@ -30,7 +30,7 @@
#include "util.h" #include "util.h"
#include "configmake.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 */ /* Make sure ... INTERNAL_CALL can not be set by the caller */
verify((VIR_SECRET_GET_VALUE_INTERNAL_CALL & verify((VIR_SECRET_GET_VALUE_INTERNAL_CALL &