From patchwork Tue Apr 2 14:44:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 233020 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B9E0A2C013B for ; Wed, 3 Apr 2013 01:45:22 +1100 (EST) Received: from localhost ([::1]:36538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2Se-0004nu-V3 for incoming@patchwork.ozlabs.org; Tue, 02 Apr 2013 10:45:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2Rx-0004fC-3n for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:44:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN2Ru-0002my-2q for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:44:37 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:45421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2Rt-0002mb-P9 for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:44:33 -0400 Received: by mail-ee0-f46.google.com with SMTP id e49so273941eek.33 for ; Tue, 02 Apr 2013 07:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=xNP260gsGOq4YY68QeZjOA02g7+27A25uSqmEx47g14=; b=HjFo/82PSyOvAOqZAMWFSMBTmfhppr9S0YLfVPwKiQKdCQvLsRCXUtsKSuTNK2iy57 4eMFgeJ6xhOPb6cVGAKWD5id5l3MZEZ9QGLEIg6kOwwVd9m00XFm1glyXY4UoaVgwwxg +CW1niAiWNhsysBSitlD1GK6YtueG3E8MJTvhubJfRQpvA26hsunywX0RRgOKMqEJDm6 IwY5Qt8kLadUAQ3MnawL6M9RB0T4yUJg4oYb01bYAR6PjPanDV+75MudJqrH8s3Tn85l CawNHMhvuV0xmfPV/2FsjCnXPUxMIG6MfUkTnDen5JCwuga2hSMyQj9Jk2sRfl9n64wz FaUQ== X-Received: by 10.14.223.69 with SMTP id u45mr10495301eep.23.1364913872974; Tue, 02 Apr 2013 07:44:32 -0700 (PDT) Received: from playground.lan (93-34-176-20.ip50.fastwebnet.it. [93.34.176.20]) by mx.google.com with ESMTPS id a1sm3143103eep.2.2013.04.02.07.44.31 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Apr 2013 07:44:32 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 2 Apr 2013 16:44:19 +0200 Message-Id: <1364913860-25159-5-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1364913860-25159-1-git-send-email-pbonzini@redhat.com> References: <1364913860-25159-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.83.46 Subject: [Qemu-devel] [PATCH 4/5] configure: move common libraries to config-host.mak X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Paolo Bonzini Reviewed-by: Peter Maydell --- Makefile.target | 2 +- configure | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.target b/Makefile.target index 2bd6d14..c8513f1 100644 --- a/Makefile.target +++ b/Makefile.target @@ -119,7 +119,7 @@ obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += memory_mapping.o obj-$(CONFIG_HAVE_CORE_DUMP) += dump.o obj-$(CONFIG_NO_GET_MEMORY_MAPPING) += memory_mapping-stub.o obj-$(CONFIG_NO_CORE_DUMP) += dump-stub.o -LIBS+=-lz +LIBS+=$(libs_softmmu) # xen support obj-$(CONFIG_XEN) += xen-all.o xen-mapcache.o diff --git a/configure b/configure index 629f70b..da0e8aa 100755 --- a/configure +++ b/configure @@ -1455,6 +1455,7 @@ EOF exit 1 fi fi +libs_softmmu="$libs_softmmu -lz" ########################################## # libseccomp check @@ -3479,6 +3480,7 @@ echo "qemu_helperdir=$libexecdir" >> $config_host_mak echo "extra_cflags=$EXTRA_CFLAGS" >> $config_host_mak echo "extra_ldflags=$EXTRA_LDFLAGS" >> $config_host_mak echo "qemu_localedir=$qemu_localedir" >> $config_host_mak +echo "libs_softmmu=$libs_softmmu" >> $config_host_mak echo "ARCH=$ARCH" >> $config_host_mak @@ -4192,7 +4194,7 @@ if test "$target_bigendian" = "yes" ; then fi if test "$target_softmmu" = "yes" ; then echo "CONFIG_SOFTMMU=y" >> $config_target_mak - echo "LIBS+=$libs_softmmu $target_libs_softmmu" >> $config_target_mak + echo "LIBS+=$target_libs_softmmu" >> $config_target_mak case "$target_arch2" in i386|x86_64) echo "CONFIG_HAVE_CORE_DUMP=y" >> $config_target_mak