summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAnthony PERARD2019-01-21 15:48:41 +0100
committerAnthony PERARD2019-02-04 12:04:49 +0100
commit17d8825d088309980a6bba7261685a937ce1e486 (patch)
treed85a6b54bf371538f4d0c9c5e5cbcbaf05130e93 /configure
parentconfigure: xen: Stop build-testing for xc_domain_create (diff)
downloadqemu-17d8825d088309980a6bba7261685a937ce1e486.tar.gz
qemu-17d8825d088309980a6bba7261685a937ce1e486.tar.xz
qemu-17d8825d088309980a6bba7261685a937ce1e486.zip
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 <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 0 insertions, 1 deletions
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"