configure: Pass the right machine types to dlltool for arm and arm64 mingw
authorMartin Storsjö <martin@martin.st>
Fri, 16 Feb 2018 22:17:21 +0000 (00:17 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 19 Feb 2018 10:36:41 +0000 (12:36 +0200)
These are supported by llvm-dlltool.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index 06fb839..1c35f9d 100755 (executable)
--- 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.