diff options
author | Viktor Prutyanov | 2018-12-20 02:24:41 +0100 |
---|---|---|
committer | Paolo Bonzini | 2019-02-05 16:50:18 +0100 |
commit | 1b9d35f33c85e63377b02eba276dd1bb102247f9 (patch) | |
tree | 7c2531ecfc9ed56626e05b24912130bf8b8a0039 | |
parent | contrib/elf2dmp: fix printf format (diff) | |
download | qemu-1b9d35f33c85e63377b02eba276dd1bb102247f9.tar.gz qemu-1b9d35f33c85e63377b02eba276dd1bb102247f9.tar.xz qemu-1b9d35f33c85e63377b02eba276dd1bb102247f9.zip |
configure: enable elf2dmp build for Windows hosts
After this patch contrib/elf2dmp can be built for Windows x86 and x86_64
hosts by mingw.
Signed-off-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Message-Id: <20181220012441.13694-7-viktor.prutyanov@phystech.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -570,8 +570,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 @@ -5790,8 +5790,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 |