Re: [libvirt] [PATCH 03/11] tests: Preload mocks with DYLD_INSERT_LIBRARIES on macOS

2019-08-21 Thread Daniel P . Berrangé
On Wed, Aug 21, 2019 at 07:13:15PM +0300, Roman Bolshakov wrote: > LD_PRELOAD has no effect on macOS. Instead, dyld(1) provides a way for > symbol hooking via DYLD_INSERT_LIBRARIES. The variable should contain > colon-separated paths to the dylibs to be inserted. > > Signed-off-by: Roman

[libvirt] [PATCH 03/11] tests: Preload mocks with DYLD_INSERT_LIBRARIES on macOS

2019-08-21 Thread Roman Bolshakov
LD_PRELOAD has no effect on macOS. Instead, dyld(1) provides a way for symbol hooking via DYLD_INSERT_LIBRARIES. The variable should contain colon-separated paths to the dylibs to be inserted. Signed-off-by: Roman Bolshakov --- tests/testutils.h | 10 -- 1 file changed, 8 insertions(+),