From patchwork Mon Aug 3 12:46:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30528 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 3720AB7067 for ; Mon, 3 Aug 2009 23:41:51 +1000 (EST) Received: from localhost ([127.0.0.1]:53465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXxnN-0000wJ-0E for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 09:41:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwz9-0003Ki-26 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwz3-0003GR-Bj for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:50 -0400 Received: from [199.232.76.173] (port=51675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwz3-0003GM-2R for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:45 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40798) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwz2-0006ys-Hg for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:44 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73CnhHD006531; Mon, 3 Aug 2009 08:49:43 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73CngBc026100; Mon, 3 Aug 2009 08:49:43 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8MV009715; Mon, 3 Aug 2009 08:49:41 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:46:18 +0200 Message-Id: <0f2daf283de3d378851b04e0dd33bca230760b8c.1249301360.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 27/81] Move to configure CONFIG_SOLARIS libraries needed always X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- Makefile | 4 ---- Makefile.target | 1 - configure | 1 + 3 files changed, 1 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 1362b53..88e13e6 100644 --- a/Makefile +++ b/Makefile @@ -27,10 +27,6 @@ else DOCS= endif -ifdef CONFIG_SOLARIS -LIBS+=-lsocket -lnsl -lresolv -endif - ifdef CONFIG_WIN32 LIBS+=-lwinmm -lws2_32 -liphlpapi endif diff --git a/Makefile.target b/Makefile.target index 5d05e71..b77c496 100644 --- a/Makefile.target +++ b/Makefile.target @@ -52,7 +52,6 @@ ifdef CONFIG_WIN32 LIBS+=-lwinmm -lws2_32 -liphlpapi endif ifdef CONFIG_SOLARIS -LIBS+=-lsocket -lnsl -lresolv ifdef CONFIG_NEEDS_LIBSUNMATH LIBS+=-lsunmath LDFLAGS+=-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib diff --git a/configure b/configure index 1d05169..811952c 100755 --- a/configure +++ b/configure @@ -321,6 +321,7 @@ SunOS) fi audio_possible_drivers="oss sdl" CFLAGS="-std=gnu99 $CFLAGS" + LIBS="-lsocket -lnsl -lresolv $LIBS" ;; AIX) aix="yes"