blob: b58c402d34bd21c29584cc916d561b4fe7aff391 [file] [log] [blame]
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:01:23.898984100 +0300
+++ Python-3.8.0/configure.ac 2019-10-22 10:01:25.833387400 +0300
@@ -5515,6 +5515,16 @@
;;
esac
+dnl Python interpreter main program for frozen scripts
+AC_SUBST(PYTHON_OBJS_FROZENMAIN)
+PYTHON_OBJS_FROZENMAIN="Python/frozenmain.o"
+case $host in
+ *-*-mingw*)
+ dnl 'PC/frozen_dllmain.c' - not yet
+ PYTHON_OBJS_FROZENMAIN=
+ ;;
+esac
+
AC_SUBST(SRCDIRS)
SRCDIRS="Parser Objects Python Modules Modules/_io Programs"
case $host in
diff -Naur Python-3.8.0-orig/Makefile.pre.in Python-3.8.0/Makefile.pre.in
--- Python-3.8.0-orig/Makefile.pre.in 2019-10-22 10:01:24.304584800 +0300
+++ Python-3.8.0/Makefile.pre.in 2019-10-22 10:01:26.238988200 +0300
@@ -327,7 +327,7 @@
Python/context.o \
Python/dynamic_annotations.o \
Python/errors.o \
- Python/frozenmain.o \
+ @PYTHON_OBJS_FROZENMAIN@ \
Python/future.o \
Python/getargs.o \
Python/getcompiler.o \