]> granicus.if.org Git - python/commitdiff
[3.6] bpo-28787: Fix out of tree --with-dtrace builds (GH-135) (#1543)
authorstratakis <cstratak@redhat.com>
Thu, 11 May 2017 11:13:18 +0000 (13:13 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 11 May 2017 11:13:18 +0000 (13:13 +0200)
* bpo-28787: Fix out of tree --with-dtrace builds

* Unsilence directory creation

* Add Misc/NEWS and Misc/ACKS entries.
(cherry picked from commit f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd)

Makefile.pre.in
Misc/ACKS
Misc/NEWS

index 076fb446310d81994a1bceee0cc66992c07e76f6..82e830727ef84936ad67f22a87737ef132fa8deb 100644 (file)
@@ -875,6 +875,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
index b38a1fe05fa76fc9899cadd9097d2c453f557f9f..486b6e32850b885fac5177679ff7f3e8a65c836a 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1476,6 +1476,7 @@ Daniel Stokes
 Michael Stone
 Serhiy Storchaka
 Ken Stox
+Charalampos Stratakis
 Dan Stromberg
 Donald Stufft
 Daniel Stutzbach
index e7090fc17840abd21bc26e118480edbe85615c56..58b8d262ecfee141cebd41811f58e1debdee3767 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -130,6 +130,9 @@ Library
 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``.