33 lines
910 B
Diff
33 lines
910 B
Diff
diff -urN a/configure.ac b/configure.ac
|
|
--- a/configure.ac 2013-12-26 18:44:48.437758900 +0000
|
|
+++ b/configure.ac 2013-12-26 18:44:51.932958800 +0000
|
|
@@ -4799,6 +4799,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 Grammar Objects Python Modules Mac"
|
|
case $host in
|
|
diff -urN a/Makefile.pre.in b/Makefile.pre.in
|
|
--- a/Makefile.pre.in 2013-12-26 18:44:49.368812200 +0000
|
|
+++ b/Makefile.pre.in 2013-12-26 18:44:51.934959000 +0000
|
|
@@ -343,7 +343,7 @@
|
|
Python/codecs.o \
|
|
Python/dynamic_annotations.o \
|
|
Python/errors.o \
|
|
- Python/frozenmain.o \
|
|
+ @PYTHON_OBJS_FROZENMAIN@ \
|
|
Python/future.o \
|
|
Python/getargs.o \
|
|
Python/getcompiler.o \
|