From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIdSI-0007Jg-0A for qemu-devel@nongnu.org; Fri, 24 Jul 2015 09:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIdSC-0007r0-V3 for qemu-devel@nongnu.org; Fri, 24 Jul 2015 09:56:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIdSC-0007qc-Pv for qemu-devel@nongnu.org; Fri, 24 Jul 2015 09:56:00 -0400 References: <1436354392-26357-1-git-send-email-pbonzini@redhat.com> <559D4011.1010302@redhat.com> <20150724125238.GA12473@redhat.com> <55B23556.2080302@redhat.com> <20150724131002.GM6880@redhat.com> From: Paolo Bonzini Message-ID: <55B243EC.2060406@redhat.com> Date: Fri, 24 Jul 2015 15:55:56 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL v3 00/12] Final changes for 2.4-rc0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , "Daniel P. Berrange" Cc: QEMU Developers 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/ ####################################################################### # block-obj-y is code used by both qemu system emulation and qemu-img Paolo