]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Replace RTLD_LOCAL with RTLD_GLOBAL
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 2 Apr 2012 16:23:59 +0000 (17:23 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 24 May 2012 12:18:00 +0000 (13:18 +0100)
commitf5f1fe1b3a2e3419402bfc9d1fbce462dbed48d7
tree82509995b9a5d2307ade8a5a6337bd7bdb08f799
parentee53a8c8ec0f5ca91aa2e934edc849293e27ec40
Replace RTLD_LOCAL with RTLD_GLOBAL

Since we have drivers which depend on each other (ie QEMU/LXC
depend on the network driver APIs), we need to use RTLD_GLOBAL
instead of RTLD_LOCAL. While this pollutes the calling binary
with many more symbols, this is no worse than if we directly
link to the drivers, and this only applies to libvirtd

* src/driver.c: s/RTLD_LOCAL/RTLD_GLOBAL/

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/driver.c