diff -Naur Python-3.8.0-orig/configure.ac Python-3.8.0/configure.ac | |
--- Python-3.8.0-orig/configure.ac 2019-10-22 10:03:48.434238000 +0300 | |
+++ Python-3.8.0/configure.ac 2019-10-22 10:04:20.273893900 +0300 | |
@@ -5668,6 +5668,15 @@ | |
done | |
AC_MSG_RESULT(done) | |
+# For mingw build need additional library for linking | |
+case $host in | |
+ *-*-mingw*) | |
+ LIBS="$LIBS -lversion -lshlwapi" | |
+ ;; | |
+ *) | |
+ ;; | |
+esac | |
+ | |
# Availability of -O2: | |
AC_MSG_CHECKING(for -O2) | |
saved_cflags="$CFLAGS" |