diff --git a/Makefile.pre.in b/Makefile.pre.in index 1ba52e7c23abc8..6e11bfb7ff3d03 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -872,6 +872,7 @@ Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_externa # follow our naming conventions. dtrace(1) uses the output filename to generate # an include guard, so we can't use a pipeline to transform its output. Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d + $(MKDIR_P) Include $(DTRACE) $(DFLAGS) -o $@ -h -s $< : sed in-place edit with POSIX-only tools sed 's/PYTHON_/PyDTrace_/' $@ > $@.tmp diff --git a/Misc/ACKS b/Misc/ACKS index 6f80ab749ad2b9..3c4155e54817ec 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1487,6 +1487,7 @@ Daniel Stokes Michael Stone Serhiy Storchaka Ken Stox +Charalampos Stratakis Dan Stromberg Donald Stufft Daniel Stutzbach diff --git a/Misc/NEWS b/Misc/NEWS index b9348880b4fc3e..5f720db5c2aea0 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -1039,6 +1039,9 @@ Documentation Build ----- +- bpo-28787: Fix out-of-tree builds of Python when configured with + ``--with--dtrace``. + - bpo-29243: Prevent unnecessary rebuilding of Python during ``make test``, ``make install`` and some other make targets when configured with ``--enable-optimizations``.