From: Eric Blake Date: Wed, 2 May 2012 18:53:04 +0000 (-0600) Subject: build: avoid link failure on Windows X-Git-Tag: v0.9.12-rc2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca336b32bed7e77e9e7cce6dd2b671b6c308c05;p=thirdparty%2Flibvirt.git 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. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index fbb756a63c..639be58205 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -530,7 +530,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