Blob Blame History Raw
diff -rupN --no-dereference Python-3.10.0rc1/configure.ac Python-3.10.0rc1-new/configure.ac
--- Python-3.10.0rc1/configure.ac	2021-08-04 16:36:56.254389176 +0200
+++ Python-3.10.0rc1-new/configure.ac	2021-08-04 16:36:56.489386801 +0200
@@ -5616,6 +5616,16 @@ do
   THREADHEADERS="$THREADHEADERS \$(srcdir)/$h"
 done
 
+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"
 AC_MSG_CHECKING(for build directories)
diff -rupN --no-dereference Python-3.10.0rc1/Makefile.pre.in Python-3.10.0rc1-new/Makefile.pre.in
--- Python-3.10.0rc1/Makefile.pre.in	2021-08-04 16:36:56.255389166 +0200
+++ Python-3.10.0rc1-new/Makefile.pre.in	2021-08-04 16:36:56.489386801 +0200
@@ -350,7 +350,7 @@ PYTHON_OBJS=	\
 		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 \