mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
vbox: Don't warn when the linker search path doesn't contain VBoxXPCOMC.so
This is actually a workaround, to unbreak make check on systems without VirtualBox.
This commit is contained in:
parent
f4a8542dd5
commit
2eb99c4a6c
@ -124,7 +124,14 @@ static int tryLoadOne(const char *dir, bool setAppHome, bool ignoreMissing)
|
||||
g_hVBoxXPCOMC = dlopen(name, RTLD_NOW | RTLD_LOCAL);
|
||||
|
||||
if (g_hVBoxXPCOMC == NULL) {
|
||||
VIR_WARN("Could not dlopen '%s': %s", name, dlerror());
|
||||
/*
|
||||
* FIXME: Don't warn in this case as it currently breaks make check
|
||||
* on systems without VirtualBox.
|
||||
*/
|
||||
if (dir != NULL) {
|
||||
VIR_WARN("Could not dlopen '%s': %s", name, dlerror());
|
||||
}
|
||||
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user