File file-5.18-fileexeext.patch of Package mingw64-file
--- file-5.18/magic/Makefile.am 2014-03-07 18:25:17.000000000 +0100
+++ file-5.18/magic/Makefile.am 2014-06-04 10:01:17.010721167 +0200
@@ -272,7 +272,7 @@
# FIXME: Build file natively as well so that it can be used to compile
# the target's magic file; for now we bail if the local version does not match
if IS_CROSS_COMPILE
-FILE_COMPILE = file${EXEEXT}
+FILE_COMPILE = file
FILE_COMPILE_DEP =
else
FILE_COMPILE = $(top_builddir)/src/file${EXEEXT}