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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 07, 2012 at 04:13:32PM -0600, Eric Blake wrote:
> 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
> > 

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]