From cc1c94dacd0642ac1a6cad45deb65071f127d91a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
Date: Sat, 17 Feb 2018 00:17:21 +0200
Subject: [PATCH] configure: Pass the right machine types to dlltool for arm
 and arm64 mingw
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

These are supported by llvm-dlltool.

Signed-off-by: Martin Storsjö <martin@martin.st>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 06fb839a181..1c35f9dc641 100755
--- a/configure
+++ b/configure
@@ -3894,6 +3894,10 @@ case $target_os in
         LIBTARGET=i386
         if enabled x86_64; then
             LIBTARGET="i386:x86-64"
+        elif enabled arm; then
+            LIBTARGET="arm"
+        elif enabled aarch64; then
+            LIBTARGET="arm64"
         fi
         if enabled shared; then
             # Cannot build both shared and static libs when using dllimport.
-- 
GitLab