Don't build wine-preloader for other cpus than x86.
diff --git a/configure b/configure
index b9ef8db..0cb457e 100755
--- a/configure
+++ b/configure
@@ -14258,8 +14258,12 @@
case $host_os in
linux*)
- WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
-
+ case $host_cpu in
+ *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
+ ;;
+ *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
+ ;;
+ esac
MAIN_BINARY="wine-glibc"
;;
diff --git a/configure.ac b/configure.ac
index f8e951b..cd482da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1015,7 +1015,10 @@
case $host_os in
linux*)
- AC_SUBST(WINE_BINARIES,"wine-glibc wine-kthread wine-pthread wine-preloader")
+ case $host_cpu in
+ *i[[3456789]]86*) AC_SUBST(WINE_BINARIES,"wine-glibc wine-kthread wine-pthread wine-preloader") ;;
+ *) AC_SUBST(WINE_BINARIES,"wine-glibc wine-kthread wine-pthread") ;;
+ esac
AC_SUBST(MAIN_BINARY,"wine-glibc")
;;
darwin*)