Re: [libvirt] [PATCH 11/11] tests: Make references to global symbols indirect in test drivers

2019-08-21 Thread Daniel P . Berrangé
On Wed, Aug 21, 2019 at 07:13:23PM +0300, Roman Bolshakov wrote: > A library has to be built with -flat_namespace to get all references to > global symbols indirected. That can also be achieved with two-level > namespace interposition but we're not using explicit symbol > interposition since it's

[libvirt] [PATCH 11/11] tests: Make references to global symbols indirect in test drivers

2019-08-21 Thread Roman Bolshakov
A library has to be built with -flat_namespace to get all references to global symbols indirected. That can also be achieved with two-level namespace interposition but we're not using explicit symbol interposition since it's more verbose and requires massive changes to the mocks. This provides a