[libvirt] [PATCH libvirt 1/3] build: do not build shunloadtest if pthread missing

Eric Blake eblake at redhat.com
Mon May 7 22:13:32 UTC 2012


ping

On 05/02/2012 12:45 PM, Eric Blake wrote:
> On 04/20/2012 07:13 AM, Marc-André Lureau wrote:
>> Fixes build on Windows systems

> we've already conditionalized -pthread; so does this (shorter) patch
> work to fix the problem instead?
> 
> diff --git i/tests/Makefile.am w/tests/Makefile.am
> index c4d550f..b30d79c 100644
> --- i/tests/Makefile.am
> +++ w/tests/Makefile.am
> @@ -529,7 +529,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
> 

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120507/a5f9f4e4/attachment-0001.sig>


More information about the libvir-list mailing list