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-Tag: v4.0.0-rc0~123^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17d8825d088309980a6bba7261685a937ce1e486;p=thirdparty%2Fqemu.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 ca1986125d7..3d89870d996 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"