Skip to content

Commit 9454ad7

Browse files
committed
Add dependencies for Python/thread.c on all of the header files that
it may depend on. It's really annoying that thread.o doesn't get rebuilt when the .h file is changed! :-) The dependency is on *all* the Python/thread_*.h files -- that should be sufficient and rarely cause unneeded recompilations.
1 parent 112ea6b commit 9454ad7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Makefile.pre.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,4 +881,8 @@ funny:
881881
-o -name MANIFEST \
882882
-o -print
883883

884+
# Dependencies
885+
886+
Python/thread.o: $(srcdir)/Python/thread_*.h
887+
884888
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY

0 commit comments

Comments
 (0)