From: Anthony PERARD Date: Mon, 21 Jan 2019 14:48:41 +0000 (+0000) Subject: configure: Don't add Xen's libs to LDFLAGS X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=17d8825d088309980a6bba7261685a937ce1e486;p=qemu.git configure: Don't add Xen's libs to LDFLAGS 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: Michael Tokarev Signed-off-by: Anthony PERARD Reviewed-by: Peter Maydell Reviewed-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/configure b/configure index ca1986125d..3d89870d99 100755 --- a/configure +++ b/configure @@ -2359,7 +2359,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"