From 2d274368f53e37ae4604b4d3bebc035097390ba7 Mon Sep 17 00:00:00 2001 From: Roumen Petrov Date: Tue, 26 Feb 2013 23:58:17 +0200 Subject: [PATCH 07/24] MINGW: ignore main program for frozen scripts --- Makefile.pre.in | 2 +- configure.ac | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 7b5ef5a..329550d 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -364,7 +364,7 @@ PYTHON_OBJS= \ 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 \ diff --git a/configure.ac b/configure.ac index d0b875f..eef9be5 100644 --- a/configure.ac +++ b/configure.ac @@ -5010,6 +5010,16 @@ case $host in ;; 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 Programs" case $host in -- 1.8.4