configure: Search MinGW even when cross compiling

André Hentschel nerv at dawncrow.de
Mon Jan 11 15:24:13 CST 2016


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---

tested with building wine64 crosstests on 32-bit linux/i686

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6f6423b..81ccb1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -943,7 +943,7 @@ test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDL
 
 dnl Check for cross compiler to build test programs
 AC_SUBST(CROSSTARGET,"")
-if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
+if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
 then
     WINE_CHECK_MINGW_PROG(CROSSCC,false)
     if test "$CROSSCC" != "false"
-- 
1.9.1




More information about the wine-patches mailing list