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>
This commit is contained in:
parent
6ec6e988fb
commit
1b9d35f33c
4
Makefile
4
Makefile
@ -570,8 +570,8 @@ ifneq ($(EXESUF),)
|
|||||||
qemu-ga: qemu-ga$(EXESUF) $(QGA_VSS_PROVIDER) $(QEMU_GA_MSI)
|
qemu-ga: qemu-ga$(EXESUF) $(QGA_VSS_PROVIDER) $(QEMU_GA_MSI)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
elf2dmp: LIBS = $(CURL_LIBS)
|
elf2dmp$(EXESUF): LIBS += $(CURL_LIBS)
|
||||||
elf2dmp: $(elf2dmp-obj-y)
|
elf2dmp$(EXESUF): $(elf2dmp-obj-y)
|
||||||
$(call LINK, $^)
|
$(call LINK, $^)
|
||||||
|
|
||||||
ifdef CONFIG_IVSHMEM
|
ifdef CONFIG_IVSHMEM
|
||||||
|
4
configure
vendored
4
configure
vendored
@ -5790,8 +5790,8 @@ if test "$want_tools" = "yes" ; then
|
|||||||
if [ "$ivshmem" = "yes" ]; then
|
if [ "$ivshmem" = "yes" ]; then
|
||||||
tools="ivshmem-client\$(EXESUF) ivshmem-server\$(EXESUF) $tools"
|
tools="ivshmem-client\$(EXESUF) ivshmem-server\$(EXESUF) $tools"
|
||||||
fi
|
fi
|
||||||
if [ "$posix" = "yes" ] && [ "$curl" = "yes" ]; then
|
if [ "$curl" = "yes" ]; then
|
||||||
tools="elf2dmp $tools"
|
tools="elf2dmp\$(EXESUF) $tools"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "$softmmu" = yes ; then
|
if test "$softmmu" = yes ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user