Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbXuC-0003Xe-Gv for qemu-devel@nongnu.org; Sun, 31 Jan 2010 06:23:52 -0500 Received: from [199.232.76.173] (port=50805 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbXuB-0003Ws-U3 for qemu-devel@nongnu.org; Sun, 31 Jan 2010 06:23:51 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbXuA-0004uH-CY for qemu-devel@nongnu.org; Sun, 31 Jan 2010 06:23:51 -0500 Received: from duck.dooz.org ([194.146.227.125]:59689) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbXuA-0004u3-2c for qemu-devel@nongnu.org; Sun, 31 Jan 2010 06:23:50 -0500 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Sun, 31 Jan 2010 12:23:45 +0100 Message-Id: <1264937025-29812-1-git-send-email-lool@dooz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] Add -static earlier to LDFLAGS for compile_prog() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Lo=C3=AFc=20Minier?= Add -static to LDFLAGS earlier as to run the compile_prog() tests with this flags, this will avoid turning on features for which a shared library is available but not a static one. Signed-off-by: Lo=C3=AFc Minier --- configure | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 42ef628..ab6bd8e 100755 --- a/configure +++ b/configure @@ -488,7 +488,9 @@ for opt do ;; --enable-gprof) gprof=3D"yes" ;; - --static) static=3D"yes" + --static) + static=3D"yes" + LDFLAGS=3D"-static $LDFLAGS" ;; --sysconfdir) sysconfdir=3D"$optarg" ;; @@ -2025,7 +2027,6 @@ if test "$solaris" =3D "yes" ; then fi if test "$static" =3D "yes" ; then echo "CONFIG_STATIC=3Dy" >> $config_host_mak - LDFLAGS=3D"-static $LDFLAGS" fi if test $profiler =3D "yes" ; then echo "CONFIG_PROFILER=3Dy" >> $config_host_mak --=20 1.6.5