]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: stop static linking to libvirt code in tests
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 27 Nov 2019 17:11:20 +0000 (17:11 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 4 Dec 2019 12:08:21 +0000 (12:08 +0000)
commit1fbd80c42a6b96a92c0daec2c23cec4de6c43f64
tree622ccec55a745629a1afb784ce8f5bc42e37152d
parent4560013b6e0482f8dc219aca4d8cba647c51998e
tests: stop static linking to libvirt code in tests

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.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/libvirt_private.syms
tests/Makefile.am