Commit fe37e2c6 authored by Sergei Trofimovich's avatar Sergei Trofimovich

aclocal.m4: treat '*-w64-mingw32' targets as windows

Noticed when tried to cross-compile GHC from x86_64-linux
to --target=i686-w64-mingw32. Final ghc executables did
not have '.exe' extensions.
Signed-off-by: default avatarSergei Trofimovich <>
parent 58a65695
......@@ -14,7 +14,8 @@ AC_DEFUN([GHC_SELECT_FILE_EXTENSIONS],
AC_MSG_WARN([I'm assuming you wanted to build for i386-unknown-mingw32])
exit 1
# examples: i386-unknown-mingw32, i686-w64-mingw32, x86_64-w64-mingw32
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment