Received: from eggs.gnu.org ([2001:4830:134:3::10]:46542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZn5S-0005le-1G for qemu-devel@nongnu.org; Wed, 19 Dec 2018 20:25:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZn5O-0002rU-IL for qemu-devel@nongnu.org; Wed, 19 Dec 2018 20:25:16 -0500 Received: from mail-lf1-x141.google.com ([2a00:1450:4864:20::141]:36928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZn5M-0002nK-JV for qemu-devel@nongnu.org; Wed, 19 Dec 2018 20:25:14 -0500 Received: by mail-lf1-x141.google.com with SMTP id y11so65832lfj.4 for ; Wed, 19 Dec 2018 17:25:12 -0800 (PST) From: Viktor Prutyanov Date: Thu, 20 Dec 2018 04:24:41 +0300 Message-Id: <20181220012441.13694-7-viktor.prutyanov@phystech.edu> In-Reply-To: <20181220012441.13694-1-viktor.prutyanov@phystech.edu> References: <20181220012441.13694-1-viktor.prutyanov@phystech.edu> Subject: [Qemu-devel] [PATCH v2 6/6] configure: enable elf2dmp build for Windows hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pbonzini@redhat.com, rkagan@virtuozzo.com Cc: eblake@redhat.com, qemu-devel@nongnu.org, Viktor Prutyanov After this patch contrib/elf2dmp can be built for Windows x86 and x86_64 hosts by mingw. Signed-off-by: Viktor Prutyanov --- 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