From a336d5bd895151a67ef601d093fe4708c4ddc248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Wed, 1 Apr 2015 12:38:42 +0200 Subject: [PATCH] Use the DEFAULT_DRIVER_DIR macro Unused since commit bc2f42a0. Move it under the WITHOUT_DRIVER_MODULES #ifdef and start using it again. --- src/driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver.c b/src/driver.c index db03438ba3..2985538de3 100644 --- a/src/driver.c +++ b/src/driver.c @@ -35,13 +35,13 @@ VIR_LOG_INIT("driver"); -#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/connection-driver" #ifdef WITH_DRIVER_MODULES /* XXX re-implment this for other OS, or use libtools helper lib ? */ # include +# define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/connection-driver" void * virDriverLoadModule(const char *name) @@ -57,7 +57,7 @@ virDriverLoadModule(const char *name) "libvirt_driver_", ".so", abs_topbuilddir "/src/.libs", - LIBDIR "/libvirt/connection-driver", + DEFAULT_DRIVER_DIR, "LIBVIRT_DRIVER_DIR"))) return NULL;