]> xenbits.xensource.com Git - libvirt.git/commit
tests: fix compilation of shunloadtest
authorJim Fehlig <jfehlig@suse.com>
Mon, 16 Jan 2017 17:58:00 +0000 (10:58 -0700)
committerJim Fehlig <jfehlig@suse.com>
Wed, 18 Jan 2017 22:59:00 +0000 (15:59 -0700)
commitb018ada3304c08e02b0750f8735b0702f0fd5f8c
treeaaa6e2793afad162a10201b652ca35c8ed43c957
parent748acc54e3a96eb2884d52be0412c00ffb54d08d
tests: fix compilation of shunloadtest

While local builds succeed fine, a build worker building in a
chroot environment is encountering the following error with
libvirt 3.0.0 release candidates

[  162s] shunloadtest.o: In function `main':
[  162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:110: undefined reference to `dlopen'
[  162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:114: undefined reference to `dlsym'
[  162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:133: undefined reference to `dlclose'
[  162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:111: undefined reference to `dlerror'
[  162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:115: undefined reference to `dlerror'
[  162s] /home/abuild/rpmbuild/BUILD/libvirt-3.0.0/tests/shunloadtest.c:116: undefined reference to `dlclose'

Fix by appending DLOPEN_LIBS to shunloadtest_LDADD.
tests/Makefile.am