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

Reply via email to