From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:37809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glazY-00044o-Jb for qemu-devel@nongnu.org; Mon, 21 Jan 2019 09:56:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glaso-0003Cq-Ok for qemu-devel@nongnu.org; Mon, 21 Jan 2019 09:49:08 -0500 Received: from smtp03.citrix.com ([162.221.156.55]:47411) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glasn-00039t-1b for qemu-devel@nongnu.org; Mon, 21 Jan 2019 09:49:02 -0500 From: Anthony PERARD Date: Mon, 21 Jan 2019 14:48:41 +0000 Message-ID: <20190121144841.24467-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Subject: [Qemu-devel] [PATCH] configure: Don't add Xen's libs to LDFLAGS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefano Stabellini , Paul Durrant , xen-devel@lists.xenproject.org, Anthony PERARD , Peter Maydell When Xen is detected via pkg-config, it isn't necessary to modify LDFLAGS as modifying libs_softmmu is enough. Reported-by: Peter Maydell Signed-off-by: Anthony PERARD --- configure | 1 - 1 file changed, 1 deletion(-) diff --git a/configure b/configure index 12fd34f30b..98b270974d 100755 --- a/configure +++ b/configure @@ -2355,7 +2355,6 @@ if test "$xen" != "no" ; then fi QEMU_CFLAGS="$QEMU_CFLAGS $($pkg_config --cflags $xen_pc)" libs_softmmu="$($pkg_config --libs $xen_pc) $libs_softmmu" - LDFLAGS="$($pkg_config --libs $xen_pc) $LDFLAGS" else xen_libs="-lxenstore -lxenctrl -lxenguest" -- Anthony PERARD