mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-04 20:15:19 +00:00
build: avoid link failure on Windows
We only know -lpthread exists on platforms where we build
threads-pthread.c; but when we build threads-win32.c, LIB_PTHREAD
is empty.
* tests/Makefile.am (shunloadtest_LDADD): Use correct library.
(cherry picked from commit 0ca336b32b
)
This commit is contained in:
parent
8f755aa295
commit
41a3072338
@ -519,7 +519,7 @@ libshunload_la_LDFLAGS = -module -avoid-version -rpath /evil/libtool/hack/to/for
|
||||
|
||||
shunloadtest_SOURCES = \
|
||||
shunloadtest.c
|
||||
shunloadtest_LDADD = -lpthread
|
||||
shunloadtest_LDADD = $(LIB_PTHREAD)
|
||||
shunloadtest_DEPENDENCIES = libshunload.la
|
||||
|
||||
if WITH_CIL
|
||||
|
Loading…
Reference in New Issue
Block a user