qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: Don't add Xen's libs to LDFLAGS
@ 2019-01-21 14:48 Anthony PERARD
  2019-01-21 15:15 ` Philippe Mathieu-Daudé
  2019-01-21 15:17 ` Peter Maydell
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony PERARD @ 2019-01-21 14:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stefano Stabellini, Paul Durrant, xen-devel, 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 <peter.maydell@linaro.org>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-04 22:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 14:48 [Qemu-devel] [PATCH] configure: Don't add Xen's libs to LDFLAGS Anthony PERARD
2019-01-21 15:15 ` Philippe Mathieu-Daudé
2019-01-21 15:17 ` Peter Maydell
2019-01-22  5:40   ` Michael Tokarev
2019-01-24  8:45     ` Markus Armbruster
2019-01-24 17:40       ` Eric Blake
2019-01-24 18:29         ` Peter Maydell
2019-02-04 22:11           ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).