Skip to content

Commit 5b7bcbf

Browse files
committed
[3.6] bpo-28787: Fix out of tree --with-dtrace builds (pythonGH-135)
* bpo-28787: Fix out of tree --with-dtrace builds * Unsilence directory creation * Add Misc/NEWS and Misc/ACKS entries. (cherry picked from commit f6eae5b)
1 parent 98b49a0 commit 5b7bcbf

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Makefile.pre.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_externa
875875
# follow our naming conventions. dtrace(1) uses the output filename to generate
876876
# an include guard, so we can't use a pipeline to transform its output.
877877
Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
878+
$(MKDIR_P) Include
878879
$(DTRACE) $(DFLAGS) -o $@ -h -s $<
879880
: sed in-place edit with POSIX-only tools
880881
sed 's/PYTHON_/PyDTrace_/' $@ > [email protected]

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,7 @@ Daniel Stokes
14761476
Michael Stone
14771477
Serhiy Storchaka
14781478
Ken Stox
1479+
Charalampos Stratakis
14791480
Dan Stromberg
14801481
Donald Stufft
14811482
Daniel Stutzbach

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ Library
130130
Build
131131
-----
132132

133+
- bpo-28787: Fix out-of-tree builds of Python when configured with
134+
``--with--dtrace``.
135+
133136
- bpo-29243: Prevent unnecessary rebuilding of Python during ``make test``,
134137
``make install`` and some other make targets when configured with
135138
``--enable-optimizations``.

0 commit comments

Comments
 (0)