From patchwork Wed Jul 27 15:50:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kenneth Salerno X-Patchwork-Id: 107112 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8CA6EB6F6B for ; Thu, 28 Jul 2011 01:50:42 +1000 (EST) Received: from localhost ([::1]:51464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm6NY-00052g-3n for incoming@patchwork.ozlabs.org; Wed, 27 Jul 2011 11:50:36 -0400 Received: from eggs.gnu.org ([140.186.70.92]:47787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm6NS-00052Z-3F for qemu-devel@nongnu.org; Wed, 27 Jul 2011 11:50:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm6NO-00016g-3Y for qemu-devel@nongnu.org; Wed, 27 Jul 2011 11:50:30 -0400 Received: from nm4.bullet.mail.sp2.yahoo.com ([98.139.91.74]:30102) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qm6NN-00016Y-Qe for qemu-devel@nongnu.org; Wed, 27 Jul 2011 11:50:26 -0400 Received: from [98.139.91.70] by nm4.bullet.mail.sp2.yahoo.com with NNFMP; 27 Jul 2011 15:50:23 -0000 Received: from [98.139.91.45] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 27 Jul 2011 15:50:23 -0000 Received: from [127.0.0.1] by omp1045.mail.sp2.yahoo.com with NNFMP; 27 Jul 2011 15:50:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 816455.77198.bm@omp1045.mail.sp2.yahoo.com Received: (qmail 46491 invoked by uid 60001); 27 Jul 2011 15:50:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1311781823; bh=VbcAoRM751h3c+1fcMBo5eojPO/PzpEj4308NrJ2c2c=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=hQcsXu6TCkW7agSo3Mw5IiYQLGKb70Fk2M6jY7lMXE8LNwiEq5JVBPJT0mhW7wdXKrYutKRHjgoph4+LGLCc0WQ3AWayri9MfJvsPwFIKDkx3CwmsV8hjportJFpdc2CuTIqc0rMFuM3CzAebDOt1c4NyjhMYppYEGHHbZnIjFg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=NHxRwzxWafJziDTgCPP6etw3+JgPSEu4KExYzDCYtwV3rZFUDs2QF74pWlLag5Nu3diiYgJp+mY++cXCes470Pt9JpILMG2Qcwb0GF60uyObV3PYx8SyuXyWwWylABIF0xm8K8QieUL9/IHiMthp27PyvHyzp82YEbhhMBJPL9Q=; X-YMail-OSG: jVBAgvoVM1kYmAqYsfWkK.ZEhi5UuhAtw2.JNg5_wcVzxO1 nFEwfE6sV6A_iVgHrsk6aNWxGu5FvTvAzRaTuOLDRyOXLVdUtbMrsMHzg72k _TuT_kF9aCsPJR8a4h2Ng.._QuscGlUTxMe8pd4YkB4aPgyUZsadKC3qgTzw 6ZrNibLdzfudArzPcSYWuy6oLtJAbsVWxbGlzDCaq6ZQw93BCbVibPNPloiT 9NIgkcfFLCuKCx9t34j5GVuPHpm1WsB2Dwbzx4F0b4U3oBVXP6zWDpCy7XA0 QcF4CFlYiMwSNSdodMDN2J4d7vFY77WpzkVX991bEgB19uHVTCQ7clP8GuAo W_7iS14Hy9QAwM7lKgk6oevssLARWn12cNiSBkMOnIr04Jn0D89ve0bs- Received: from [74.66.5.83] by web110409.mail.gq1.yahoo.com via HTTP; Wed, 27 Jul 2011 08:50:23 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.310352 Message-ID: <1311781823.44875.YahooMailClassic@web110409.mail.gq1.yahoo.com> Date: Wed, 27 Jul 2011 08:50:23 -0700 (PDT) From: Kenneth Salerno To: qemu-devel@nongnu.org MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.91.74 Subject: [Qemu-devel] [PATCH] MinGW compilation shouldn't include -lglib-2.0 etc. 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 Should check first if using a mingw compiler before forcing the addition of -lglib-2.0, -liconv, and -lintl to $LIBS of config-target.mak. Signed-off-by: Kenneth Salerno Regards, Ken --- configure.ORIG 2011-07-27 11:28:16.859375000 -0400 +++ configure 2011-07-27 11:43:59.859375000 -0400 @@ -1824,9 +1824,11 @@ # glib support probe if $pkg_config --modversion glib-2.0 > /dev/null 2>&1 ; then glib_cflags=`$pkg_config --cflags glib-2.0 2>/dev/null` - glib_libs=`$pkg_config --libs glib-2.0 2>/dev/null` - libs_softmmu="$glib_libs $libs_softmmu" - libs_tools="$glib_libs $libs_tools" + if test "$mingw32" != "yes" ; then + glib_libs=`$pkg_config --libs glib-2.0 2>/dev/null` + libs_softmmu="$glib_libs $libs_softmmu" + libs_tools="$glib_libs $libs_tools" + fi else echo "glib-2.0 required to compile QEMU" exit 1