Skip to content

Commit

Permalink
Ignore main program for frozen scripts on MINGW
Browse files Browse the repository at this point in the history
Co-authored-by: Алексей <[email protected]>
  • Loading branch information
Alexpux authored and lazka committed Jul 19, 2023
1 parent 8911010 commit 873c2d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ PYTHON_OBJS= \
Python/dynamic_annotations.o \
Python/errors.o \
Python/frame.o \
Python/frozenmain.o \
@PYTHON_OBJS_FROZENMAIN@ \
Python/future.o \
Python/getargs.o \
Python/getcompiler.o \
Expand Down
10 changes: 10 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6524,6 +6524,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="\
Modules \
Expand Down

0 comments on commit 873c2d0

Please sign in to comment.