Re: [libvirt] [PATCH] tests: stop static linking to libvirt code in tests

2019-12-04 Thread Michal Privoznik
On 12/3/19 4:25 PM, Daniel P. Berrangé wrote: If we static link to libvirt_util.la then we can't override functions in this file by simply implementing them in the test code. Any tests should dynamic link to the main libvirt.la and ensure symbols are exported. Signed-off-by: Daniel P. Berrangé

[libvirt] [PATCH] tests: stop static linking to libvirt code in tests

2019-12-03 Thread Daniel P . Berrangé
If we static link to libvirt_util.la then we can't override functions in this file by simply implementing them in the test code. Any tests should dynamic link to the main libvirt.la and ensure symbols are exported. Signed-off-by: Daniel P. Berrangé --- src/libvirt_private.syms | 2 ++