@@ -582,8 +582,8 @@ LIBEXPAT_HEADERS= \
582
582
# Default target
583
583
all: @DEF_MAKE_ALL_RULE@
584
584
build_all: check-clean-src $(BUILDPYTHON) platform oldsharedmods sharedmods \
585
- gdbhooks Programs/_testembed scripts
586
- build_wasm: check-clean-src $(BUILDPYTHON) platform oldsharedmods python-config
585
+ gdbhooks Programs/_testembed scripts checkoldsharedmods
586
+ build_wasm: check-clean-src $(BUILDPYTHON) platform oldsharedmods python-config checkoldsharedmods
587
587
588
588
# Check that the source is clean when building out of source.
589
589
check-clean-src:
@@ -909,15 +909,17 @@ $(LIBEXPAT_A): $(LIBEXPAT_OBJS)
909
909
# create relative links from build/lib.platform/egg.so to Modules/egg.so
910
910
# pybuilddir.txt is created too late. We cannot use it in Makefile
911
911
# targets. ln --relative is not portable.
912
- oldsharedmods: $(SHAREDMODS) pybuilddir.txt
912
+ oldsharedmods: $(SHAREDMODS) $(PYTHON_FOR_BUILD_DEPS) pybuilddir.txt
913
913
@target=`cat pybuilddir.txt`; \
914
914
$(MKDIR_P) $$target; \
915
915
for mod in X $(SHAREDMODS); do \
916
916
if test $$mod != X; then \
917
917
$(LN) -sf ../../$$mod $$target/`basename $$mod`; \
918
918
fi; \
919
919
done
920
- @$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/check_shared_ext.py
920
+
921
+ checkoldsharedmods: oldsharedmods $(BUILDPYTHON)
922
+ @$(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/Tools/scripts/check_modules.py
921
923
922
924
Modules/Setup.local:
923
925
@# Create empty Setup.local when file was deleted by user
@@ -2532,7 +2534,8 @@ update-config:
2532
2534
Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h
2533
2535
2534
2536
# Declare targets that aren't real files
2535
- .PHONY: all build_all build_wasm sharedmods check-clean-src oldsharedmods test quicktest
2537
+ .PHONY: all build_all build_wasm sharedmods check-clean-src oldsharedmods
2538
+ .PHONY: checkoldsharedmods test quicktest
2536
2539
.PHONY: install altinstall oldsharedinstall bininstall altbininstall
2537
2540
.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
2538
2541
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
0 commit comments