From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIdkY-0005nb-9i for qemu-devel@nongnu.org; Fri, 24 Jul 2015 10:14:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIdkU-0001Ef-II for qemu-devel@nongnu.org; Fri, 24 Jul 2015 10:14:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIdkU-0001ES-DK for qemu-devel@nongnu.org; Fri, 24 Jul 2015 10:14:54 -0400 Date: Fri, 24 Jul 2015 15:14:49 +0100 From: "Daniel P. Berrange" Message-ID: <20150724141449.GR6880@redhat.com> References: <559D4011.1010302@redhat.com> <20150724125238.GA12473@redhat.com> <55B23556.2080302@redhat.com> <20150724131002.GM6880@redhat.com> <55B243EC.2060406@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <55B243EC.2060406@redhat.com> Subject: Re: [Qemu-devel] [PULL v3 00/12] Final changes for 2.4-rc0 Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , QEMU Developers On Fri, Jul 24, 2015 at 03:55:56PM +0200, Paolo Bonzini wrote: > > > On 24/07/2015 15:31, Peter Maydell wrote: > > Yes, but the set of required static libs for linux-user is pretty > > tiny, and it doesn't generally change. In particular since we > > don't want to link gnutls into linux-user we shouldn't be requiring > > the user to scrape up a static lib of it to keep things working. > > Requiring gnutls at all for these configure options is just a bug > > (in configure or the makefile). > > Can you check if this works? > > diff --git a/Makefile.objs b/Makefile.objs > index f094eff..9d988d9 100644 > --- a/Makefile.objs > +++ b/Makefile.objs > @@ -2,7 +2,9 @@ > # Common libraries for tools and emulators > stub-obj-y = stubs/ > util-obj-y = util/ qobject/ qapi/ qapi-types.o qapi-visit.o qapi-event.o > -util-obj-y += crypto/ > + > +util-obj-$(call notempty,$(TOOLS)) += crypto/ > +util-obj-$(CONFIG_SOFTMMU) += crypto/ I have a feeling that'd cause the test suite to fail to link, because it expects it to be unconditionally present in the libqemuutil.a lib. Regards, 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 :|