419607c build: prevent unloading of all public libraries

Authored and Committed by berrange 5 years ago
    build: prevent unloading of all public libraries
    
    We previously added "-z nodelete" to the build of libvirt.so to prevent
    crashes when thread local destructors run which point to a code that
    has been dlclose()d:
    
      commit 8e44e5593eb9b89fbc0b54fde15f130707a0d81e
      Author: Daniel P. Berrange <berrange@redhat.com>
      Date:   Thu Sep 1 17:57:06 2011 +0100
    
          Prevent crash from dlclose() of libvirt.so
    
    We forgot to copy this protection into the libvirt-qemu.so, libvirt-lxc.so
    and libvirt-admin.so libraries when we introduced them.
    
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
    
        
file modified
+5 -1