Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99d707c

Browse files
committed
gh-103053: Fix make check-clean-src: check "python" program
"make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist.
1 parent 3c0f65e commit 99d707c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.pre.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,8 @@ build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \
624624
.PHONY: check-clean-src
625625
check-clean-src:
626626
@if test -n "$(VPATH)" -a \( \
627-
-f "$(srcdir)/Programs/python.o" \
627+
-f "$(srcdir)/$(BUILDPYTHON)" \
628+
-o -f "$(srcdir)/Programs/python.o" \
628629
-o -f "$(srcdir)\Python/frozen_modules/importlib._bootstrap.h" \
629630
\); then \
630631
echo "Error: The source directory ($(srcdir)) is not clean" ; \

0 commit comments

Comments
 (0)