File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ EXPORTSFROM= @EXPORTSFROM@
176
176
# Executable suffix (.exe on Windows and Mac OS X)
177
177
EXE= @EXEEXT@
178
178
BUILDEXE= @BUILDEXEEXT@
179
+ WINDOWSEXE=.exe
179
180
180
181
# Short name and location for Mac OS X Python framework
181
182
UNIVERSALSDK=@UNIVERSALSDK@
@@ -581,7 +582,9 @@ LIBEXPAT_HEADERS= \
581
582
all: @DEF_MAKE_ALL_RULE@
582
583
build_all: check-clean-src $(BUILDPYTHON) platform sharedmods \
583
584
gdbhooks Programs/_testembed scripts checksharedmods rundsymutil
584
- cp $(BUILDPYTHON) $(BUILDPYTHON3)
585
+ @if test "$(BUILDEXE)" = "$(WINDOWSEXE)" ; then \
586
+ cp $(BUILDPYTHON) $(BUILDPYTHON3) ; \
587
+ fi
585
588
build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \
586
589
python-config checksharedmods
587
590
You can’t perform that action at this time.
0 commit comments