From 8ce5d404be1308ac5c1fa167cb9f75297bc043aa Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 21 Jan 2011 17:42:07 +0000 Subject: [PATCH] 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 --- src/Makefile.am | 2 +- src/driver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index f8b843480a..2f94efdb28 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 diff --git a/src/driver.c b/src/driver.c index d83b1fddfa..6e4aa9f3c8 100644 --- a/src/driver.c +++ b/src/driver.c @@ -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 &