From: Viktor Prutyanov Date: Thu, 20 Dec 2018 01:24:41 +0000 (+0300) Subject: configure: enable elf2dmp build for Windows hosts X-Git-Tag: v4.0.0-rc0~114^2~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b9d35f33c85e63377b02eba276dd1bb102247f9;p=thirdparty%2Fqemu.git 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 Message-Id: <20181220012441.13694-7-viktor.prutyanov@phystech.edu> Signed-off-by: Paolo Bonzini --- diff --git a/Makefile b/Makefile index 76f6ab4b7e8..3658310b95f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/configure b/configure index f6a51e07651..244bc7acd5d 100755 --- a/configure +++ b/configure @@ -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