[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 6/6] configure: enable elf2dmp build for Windows
From: |
Viktor Prutyanov |
Subject: |
[Qemu-devel] [PATCH v2 6/6] configure: enable elf2dmp build for Windows hosts |
Date: |
Thu, 20 Dec 2018 04:24:41 +0300 |
After this patch contrib/elf2dmp can be built for Windows x86 and x86_64
hosts by mingw.
Signed-off-by: Viktor Prutyanov <address@hidden>
---
Makefile | 4 ++--
configure | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index c8b9efdad4..25acb94aa6 100644
--- a/Makefile
+++ b/Makefile
@@ -565,8 +565,8 @@ ifneq ($(EXESUF),)
qemu-ga: qemu-ga$(EXESUF) $(QGA_VSS_PROVIDER) $(QEMU_GA_MSI)
endif
-elf2dmp: LIBS = $(CURL_LIBS)
-elf2dmp: $(elf2dmp-obj-y)
+elf2dmp$(EXESUF): LIBS += $(CURL_LIBS)
+elf2dmp$(EXESUF): $(elf2dmp-obj-y)
$(call LINK, $^)
ifdef CONFIG_IVSHMEM
diff --git a/configure b/configure
index 224d3071ac..686ae2e093 100755
--- a/configure
+++ b/configure
@@ -5753,8 +5753,8 @@ if test "$want_tools" = "yes" ; then
if [ "$ivshmem" = "yes" ]; then
tools="ivshmem-client\$(EXESUF) ivshmem-server\$(EXESUF) $tools"
fi
- if [ "$posix" = "yes" ] && [ "$curl" = "yes" ]; then
- tools="elf2dmp $tools"
+ if [ "$curl" = "yes" ]; then
+ tools="elf2dmp\$(EXESUF) $tools"
fi
fi
if test "$softmmu" = yes ; then
--
2.17.2
- [Qemu-devel] [PATCH v2 0/6] contrib/elf2dmp: elf2dmp for Windows hosts, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 6/6] configure: enable elf2dmp build for Windows hosts,
Viktor Prutyanov <=
- [Qemu-devel] [PATCH v2 4/6] contrib/elf2dmp: fix structures definitions, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 2/6] contrib/elf2dmp: use GLib in ELF processing, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 3/6] contrib/elf2dmp: use GLib in PDB processing, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 1/6] contrib/elf2dmp: fix elf.h including, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 5/6] contrib/elf2dmp: fix printf format, Viktor Prutyanov, 2018/12/19