]> xenbits.xensource.com Git - libvirt.git/commit
tests: Link virtestmock with probes
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 18 May 2016 13:31:54 +0000 (15:31 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 20 May 2016 15:16:21 +0000 (17:16 +0200)
commit997be5c27a96469bf20bbaed4d003d5285df5c09
tree95307ea344ad7f0f208346d0f0ec3fc19ac5f5c7
parent49c1a078c2a033a4d6450968ec27602848cfed81
tests: Link virtestmock with probes

I've encountered this error while trying out this feature on some
systems:

  $ VIR_TEST_FILE_ACCESS=1 ./virhashtest \
 libvirt.git/tests/.libs/lt-virhashtest: \
symbol lookup error: libvirt.git/tests/.libs/virtestmock.so: \
undefined symbol: libvirt_event_poll_purge_timeout_semaphore

Problem is, linking just libvirt_utils to virmock.la is not
enough. We might need to link libvirt_probes.lo too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/Makefile.am