Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ EXPORTSFROM= @EXPORTSFROM@
# Executable suffix (.exe on Windows and Mac OS X)
EXE= @EXEEXT@
BUILDEXE= @BUILDEXEEXT@
WINDOWSEXE=.exe

# Short name and location for Mac OS X Python framework
UNIVERSALSDK=@UNIVERSALSDK@
Expand Down Expand Up @@ -280,6 +281,7 @@ LIBOBJS= @LIBOBJS@

PYTHON= python$(EXE)
BUILDPYTHON= python$(BUILDEXE)
BUILDPYTHON3= python3$(BUILDEXE)

HOSTRUNNER= @HOSTRUNNER@

Expand Down Expand Up @@ -580,6 +582,9 @@ LIBEXPAT_HEADERS= \
all: @DEF_MAKE_ALL_RULE@
build_all: check-clean-src $(BUILDPYTHON) platform sharedmods \
gdbhooks Programs/_testembed scripts checksharedmods rundsymutil
@if test "$(BUILDEXE)" = "$(WINDOWSEXE)" ; then \
cp $(BUILDPYTHON) $(BUILDPYTHON3) ; \
fi
build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \
python-config checksharedmods

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copy python executable (python.exe) to python3.exe