Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > d8c679353daa984effd8ef75a56451e3 > files > 10

mingw-python3-3.10.9-1.mga9.src.rpm

diff -rupN --no-dereference Python-3.10.9/configure.ac Python-3.10.9-new/configure.ac
--- Python-3.10.9/configure.ac	2022-12-08 09:36:55.410024773 +0100
+++ Python-3.10.9-new/configure.ac	2022-12-08 09:36:55.713024780 +0100
@@ -5644,6 +5644,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.9/Makefile.pre.in Python-3.10.9-new/Makefile.pre.in
--- Python-3.10.9/Makefile.pre.in	2022-12-08 09:36:55.411024773 +0100
+++ Python-3.10.9-new/Makefile.pre.in	2022-12-08 09:36:55.714024780 +0100
@@ -349,7 +349,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 \